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

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

<synopsis>#define             <link linkend="MILTER-IMPLEMENT-ERROR-EMITTABLE:CAPS">MILTER_IMPLEMENT_ERROR_EMITTABLE</link>    (init)
#define             <link linkend="MILTER-DEFINE-ERROR-EMITTABLE-TYPE:CAPS">MILTER_DEFINE_ERROR_EMITTABLE_TYPE</link>  (TypeName, type_name, TYPE_PARENT)
#define             <link linkend="MILTER-IMPLEMENT-FINISHED-EMITTABLE-WITH-CODE:CAPS">MILTER_IMPLEMENT_FINISHED_EMITTABLE_WITH_CODE</link>(init, code)
#define             <link linkend="MILTER-IMPLEMENT-FINISHED-EMITTABLE:CAPS">MILTER_IMPLEMENT_FINISHED_EMITTABLE</link> (init)
#define             <link linkend="MILTER-DEFINE-FINISHED-EMITTABLE-TYPE:CAPS">MILTER_DEFINE_FINISHED_EMITTABLE_TYPE</link>(TypeName,
                                                         type_name,
                                                         TYPE_PARENT)
#define             <link linkend="MILTER-IMPLEMENT-REPLY-SIGNALS:CAPS">MILTER_IMPLEMENT_REPLY_SIGNALS</link>      (init)
<link linkend="gchar"><returnvalue>gchar</returnvalue></link> *             <link linkend="milter-utils-inspect-io-condition-error">milter_utils_inspect_io_condition_error</link>
                                                        (<link linkend="GIOCondition"><returnvalue>GIOCondition</returnvalue></link> condition);
<link linkend="gchar"><returnvalue>gchar</returnvalue></link> *             <link linkend="milter-utils-inspect-enum">milter_utils_inspect_enum</link>           (<link linkend="GType"><returnvalue>GType</returnvalue></link> enum_type,
                                                         <link linkend="gint"><returnvalue>gint</returnvalue></link> enum_value);
<link linkend="gchar"><returnvalue>gchar</returnvalue></link> *             <link linkend="milter-utils-get-enum-name">milter_utils_get_enum_name</link>          (<link linkend="GType"><returnvalue>GType</returnvalue></link> enum_type,
                                                         <link linkend="gint"><returnvalue>gint</returnvalue></link> enum_value);
<link linkend="gchar"><returnvalue>gchar</returnvalue></link> *             <link linkend="milter-utils-get-enum-nick-name">milter_utils_get_enum_nick_name</link>     (<link linkend="GType"><returnvalue>GType</returnvalue></link> enum_type,
                                                         <link linkend="gint"><returnvalue>gint</returnvalue></link> enum_value);
<link linkend="gchar"><returnvalue>gchar</returnvalue></link> *             <link linkend="milter-utils-inspect-flags">milter_utils_inspect_flags</link>          (<link linkend="GType"><returnvalue>GType</returnvalue></link> flags_type,
                                                         <link linkend="guint"><returnvalue>guint</returnvalue></link> flags);
<link linkend="gchar"><returnvalue>gchar</returnvalue></link> *             <link linkend="milter-utils-get-flags-names">milter_utils_get_flags_names</link>        (<link linkend="GType"><returnvalue>GType</returnvalue></link> flags_type,
                                                         <link linkend="guint"><returnvalue>guint</returnvalue></link> flags);
<link linkend="gchar"><returnvalue>gchar</returnvalue></link> *             <link linkend="milter-utils-inspect-object">milter_utils_inspect_object</link>         (<link linkend="GObject"><returnvalue>GObject</returnvalue></link> *object);
<link linkend="gchar"><returnvalue>gchar</returnvalue></link> *             <link linkend="milter-utils-format-reply-code">milter_utils_format_reply_code</link>      (<link linkend="guint"><returnvalue>guint</returnvalue></link> reply_code,
                                                         const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *extended_code,
                                                         const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *message);
<link linkend="gchar"><returnvalue>gchar</returnvalue></link> *             <link linkend="milter-utils-inspect-hash-string-string">milter_utils_inspect_hash_string_string</link>
                                                        (<link linkend="GHashTable"><returnvalue>GHashTable</returnvalue></link> *hash);
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="milter-utils-merge-hash-string-string">milter_utils_merge_hash_string_string</link>
                                                        (<link linkend="GHashTable"><returnvalue>GHashTable</returnvalue></link> *dest,
                                                         <link linkend="GHashTable"><returnvalue>GHashTable</returnvalue></link> *src);
<link linkend="gchar"><returnvalue>gchar</returnvalue></link> *             <link linkend="milter-utils-inspect-list-pointer">milter_utils_inspect_list_pointer</link>   (const <link linkend="GList"><returnvalue>GList</returnvalue></link> *list);
<link linkend="MilterMacroStage"><returnvalue>MilterMacroStage</returnvalue></link>    <link linkend="milter-utils-command-to-macro-stage">milter_utils_command_to_macro_stage</link> (<link linkend="MilterCommand"><returnvalue>MilterCommand</returnvalue></link> command);
<link linkend="MilterCommand"><returnvalue>MilterCommand</returnvalue></link>       <link linkend="milter-utils-macro-stage-to-command">milter_utils_macro_stage_to_command</link> (<link linkend="MilterMacroStage"><returnvalue>MilterMacroStage</returnvalue></link> stage);
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="milter-utils-set-error-with-sub-error">milter_utils_set_error_with_sub_error</link>
                                                        (<link linkend="GError"><returnvalue>GError</returnvalue></link> **error,
                                                         <link linkend="GQuark"><returnvalue>GQuark</returnvalue></link> domain,
                                                         <link linkend="gint"><returnvalue>gint</returnvalue></link> error_code,
                                                         <link linkend="GError"><returnvalue>GError</returnvalue></link> *sub_error,
                                                         const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *format,
                                                         ...);
<link linkend="guint"><returnvalue>guint</returnvalue></link>               <link linkend="milter-utils-timeout-add">milter_utils_timeout_add</link>            (<link linkend="gdouble"><returnvalue>gdouble</returnvalue></link> interval,
                                                         <link linkend="GSourceFunc"><returnvalue>GSourceFunc</returnvalue></link> function,
                                                         <link linkend="gpointer"><returnvalue>gpointer</returnvalue></link> data);
<link linkend="guint"><returnvalue>guint</returnvalue></link>               <link linkend="milter-utils-flags-from-string">milter_utils_flags_from_string</link>      (<link linkend="GType"><returnvalue>GType</returnvalue></link> flags_type,
                                                         const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *flags_string);
<link linkend="gint"><returnvalue>gint</returnvalue></link>                <link linkend="milter-utils-enum-from-string">milter_utils_enum_from_string</link>       (<link linkend="GType"><returnvalue>GType</returnvalue></link> enum_type,
                                                         const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *enum_string);
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="milter-utils-append-indent">milter_utils_append_indent</link>          (<link linkend="GString"><returnvalue>GString</returnvalue></link> *string,
                                                         <link linkend="guint"><returnvalue>guint</returnvalue></link> size);
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="milter-utils-xml-append-text-element">milter_utils_xml_append_text_element</link>
                                                        (<link linkend="GString"><returnvalue>GString</returnvalue></link> *string,
                                                         const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *name,
                                                         const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *content,
                                                         <link linkend="guint"><returnvalue>guint</returnvalue></link> indent);
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="milter-utils-xml-append-boolean-element">milter_utils_xml_append_boolean_element</link>
                                                        (<link linkend="GString"><returnvalue>GString</returnvalue></link> *string,
                                                         const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *name,
                                                         <link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> boolean,
                                                         <link linkend="guint"><returnvalue>guint</returnvalue></link> indent);
<link linkend="gint"><returnvalue>gint</returnvalue></link>                <link linkend="milter-utils-strcmp0">milter_utils_strcmp0</link>                (const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *str1,
                                                         const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *str2);
</synopsis>
</refsynopsisdiv>

<refsect1 id="milter-manager-milter-utils.description" role="desc">
<title role="desc.title">説明</title>
<para>
</para>
</refsect1>
<refsect1 id="milter-manager-milter-utils.details" role="details">
<title role="details.title">詳細</title>
<refsect2 id="MILTER-IMPLEMENT-ERROR-EMITTABLE:CAPS" role="macro">
<title>MILTER_IMPLEMENT_ERROR_EMITTABLE()</title>
<indexterm zone="MILTER-IMPLEMENT-ERROR-EMITTABLE:CAPS"><primary>MILTER_IMPLEMENT_ERROR_EMITTABLE</primary></indexterm>
<programlisting>#define             MILTER_IMPLEMENT_ERROR_EMITTABLE(init)</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>init</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="MILTER-DEFINE-ERROR-EMITTABLE-TYPE:CAPS" role="macro">
<title>MILTER_DEFINE_ERROR_EMITTABLE_TYPE()</title>
<indexterm zone="MILTER-DEFINE-ERROR-EMITTABLE-TYPE:CAPS"><primary>MILTER_DEFINE_ERROR_EMITTABLE_TYPE</primary></indexterm>
<programlisting>#define             MILTER_DEFINE_ERROR_EMITTABLE_TYPE(TypeName, type_name, TYPE_PARENT)</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>TypeName</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>type_name</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>TYPE_PARENT</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="MILTER-IMPLEMENT-FINISHED-EMITTABLE-WITH-CODE:CAPS" role="macro">
<title>MILTER_IMPLEMENT_FINISHED_EMITTABLE_WITH_CODE()</title>
<indexterm zone="MILTER-IMPLEMENT-FINISHED-EMITTABLE-WITH-CODE:CAPS"><primary>MILTER_IMPLEMENT_FINISHED_EMITTABLE_WITH_CODE</primary></indexterm>
<programlisting>#define             MILTER_IMPLEMENT_FINISHED_EMITTABLE_WITH_CODE(init, code)</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>init</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>code</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="MILTER-IMPLEMENT-FINISHED-EMITTABLE:CAPS" role="macro">
<title>MILTER_IMPLEMENT_FINISHED_EMITTABLE()</title>
<indexterm zone="MILTER-IMPLEMENT-FINISHED-EMITTABLE:CAPS"><primary>MILTER_IMPLEMENT_FINISHED_EMITTABLE</primary></indexterm>
<programlisting>#define             MILTER_IMPLEMENT_FINISHED_EMITTABLE(init)</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>init</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="MILTER-DEFINE-FINISHED-EMITTABLE-TYPE:CAPS" role="macro">
<title>MILTER_DEFINE_FINISHED_EMITTABLE_TYPE()</title>
<indexterm zone="MILTER-DEFINE-FINISHED-EMITTABLE-TYPE:CAPS"><primary>MILTER_DEFINE_FINISHED_EMITTABLE_TYPE</primary></indexterm>
<programlisting>#define             MILTER_DEFINE_FINISHED_EMITTABLE_TYPE(TypeName,                     \
                                                          type_name,                    \
                                                          TYPE_PARENT)</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>TypeName</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>type_name</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>TYPE_PARENT</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="MILTER-IMPLEMENT-REPLY-SIGNALS:CAPS" role="macro">
<title>MILTER_IMPLEMENT_REPLY_SIGNALS()</title>
<indexterm zone="MILTER-IMPLEMENT-REPLY-SIGNALS:CAPS"><primary>MILTER_IMPLEMENT_REPLY_SIGNALS</primary></indexterm>
<programlisting>#define             MILTER_IMPLEMENT_REPLY_SIGNALS(init)</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>init</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="milter-utils-inspect-io-condition-error" role="function">
<title>milter_utils_inspect_io_condition_error ()</title>
<indexterm zone="milter-utils-inspect-io-condition-error"><primary>milter_utils_inspect_io_condition_error</primary></indexterm>
<programlisting><link linkend="gchar"><returnvalue>gchar</returnvalue></link> *             milter_utils_inspect_io_condition_error
                                                        (<link linkend="GIOCondition"><returnvalue>GIOCondition</returnvalue></link> condition);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>condition</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>返値</emphasis>&nbsp;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="milter-utils-inspect-enum" role="function">
<title>milter_utils_inspect_enum ()</title>
<indexterm zone="milter-utils-inspect-enum"><primary>milter_utils_inspect_enum</primary></indexterm>
<programlisting><link linkend="gchar"><returnvalue>gchar</returnvalue></link> *             milter_utils_inspect_enum           (<link linkend="GType"><returnvalue>GType</returnvalue></link> enum_type,
                                                         <link linkend="gint"><returnvalue>gint</returnvalue></link> enum_value);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>enum_type</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>enum_value</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>返値</emphasis>&nbsp;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="milter-utils-get-enum-name" role="function">
<title>milter_utils_get_enum_name ()</title>
<indexterm zone="milter-utils-get-enum-name"><primary>milter_utils_get_enum_name</primary></indexterm>
<programlisting><link linkend="gchar"><returnvalue>gchar</returnvalue></link> *             milter_utils_get_enum_name          (<link linkend="GType"><returnvalue>GType</returnvalue></link> enum_type,
                                                         <link linkend="gint"><returnvalue>gint</returnvalue></link> enum_value);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>enum_type</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>enum_value</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>返値</emphasis>&nbsp;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="milter-utils-get-enum-nick-name" role="function">
<title>milter_utils_get_enum_nick_name ()</title>
<indexterm zone="milter-utils-get-enum-nick-name"><primary>milter_utils_get_enum_nick_name</primary></indexterm>
<programlisting><link linkend="gchar"><returnvalue>gchar</returnvalue></link> *             milter_utils_get_enum_nick_name     (<link linkend="GType"><returnvalue>GType</returnvalue></link> enum_type,
                                                         <link linkend="gint"><returnvalue>gint</returnvalue></link> enum_value);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>enum_type</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>enum_value</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>返値</emphasis>&nbsp;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="milter-utils-inspect-flags" role="function">
<title>milter_utils_inspect_flags ()</title>
<indexterm zone="milter-utils-inspect-flags"><primary>milter_utils_inspect_flags</primary></indexterm>
<programlisting><link linkend="gchar"><returnvalue>gchar</returnvalue></link> *             milter_utils_inspect_flags          (<link linkend="GType"><returnvalue>GType</returnvalue></link> flags_type,
                                                         <link linkend="guint"><returnvalue>guint</returnvalue></link> flags);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>flags_type</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>flags</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>返値</emphasis>&nbsp;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="milter-utils-get-flags-names" role="function">
<title>milter_utils_get_flags_names ()</title>
<indexterm zone="milter-utils-get-flags-names"><primary>milter_utils_get_flags_names</primary></indexterm>
<programlisting><link linkend="gchar"><returnvalue>gchar</returnvalue></link> *             milter_utils_get_flags_names        (<link linkend="GType"><returnvalue>GType</returnvalue></link> flags_type,
                                                         <link linkend="guint"><returnvalue>guint</returnvalue></link> flags);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>flags_type</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>flags</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>返値</emphasis>&nbsp;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="milter-utils-inspect-object" role="function">
<title>milter_utils_inspect_object ()</title>
<indexterm zone="milter-utils-inspect-object"><primary>milter_utils_inspect_object</primary></indexterm>
<programlisting><link linkend="gchar"><returnvalue>gchar</returnvalue></link> *             milter_utils_inspect_object         (<link linkend="GObject"><returnvalue>GObject</returnvalue></link> *object);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>object</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>返値</emphasis>&nbsp;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="milter-utils-format-reply-code" role="function">
<title>milter_utils_format_reply_code ()</title>
<indexterm zone="milter-utils-format-reply-code"><primary>milter_utils_format_reply_code</primary></indexterm>
<programlisting><link linkend="gchar"><returnvalue>gchar</returnvalue></link> *             milter_utils_format_reply_code      (<link linkend="guint"><returnvalue>guint</returnvalue></link> reply_code,
                                                         const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *extended_code,
                                                         const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *message);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>reply_code</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>extended_code</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>message</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>返値</emphasis>&nbsp;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="milter-utils-inspect-hash-string-string" role="function">
<title>milter_utils_inspect_hash_string_string ()</title>
<indexterm zone="milter-utils-inspect-hash-string-string"><primary>milter_utils_inspect_hash_string_string</primary></indexterm>
<programlisting><link linkend="gchar"><returnvalue>gchar</returnvalue></link> *             milter_utils_inspect_hash_string_string
                                                        (<link linkend="GHashTable"><returnvalue>GHashTable</returnvalue></link> *hash);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>hash</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>返値</emphasis>&nbsp;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="milter-utils-merge-hash-string-string" role="function">
<title>milter_utils_merge_hash_string_string ()</title>
<indexterm zone="milter-utils-merge-hash-string-string"><primary>milter_utils_merge_hash_string_string</primary></indexterm>
<programlisting><link linkend="void"><returnvalue>void</returnvalue></link>                milter_utils_merge_hash_string_string
                                                        (<link linkend="GHashTable"><returnvalue>GHashTable</returnvalue></link> *dest,
                                                         <link linkend="GHashTable"><returnvalue>GHashTable</returnvalue></link> *src);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>dest</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>src</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="milter-utils-inspect-list-pointer" role="function">
<title>milter_utils_inspect_list_pointer ()</title>
<indexterm zone="milter-utils-inspect-list-pointer"><primary>milter_utils_inspect_list_pointer</primary></indexterm>
<programlisting><link linkend="gchar"><returnvalue>gchar</returnvalue></link> *             milter_utils_inspect_list_pointer   (const <link linkend="GList"><returnvalue>GList</returnvalue></link> *list);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>list</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>返値</emphasis>&nbsp;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="milter-utils-command-to-macro-stage" role="function">
<title>milter_utils_command_to_macro_stage ()</title>
<indexterm zone="milter-utils-command-to-macro-stage"><primary>milter_utils_command_to_macro_stage</primary></indexterm>
<programlisting><link linkend="MilterMacroStage"><returnvalue>MilterMacroStage</returnvalue></link>    milter_utils_command_to_macro_stage (<link linkend="MilterCommand"><returnvalue>MilterCommand</returnvalue></link> command);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>command</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>返値</emphasis>&nbsp;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="milter-utils-macro-stage-to-command" role="function">
<title>milter_utils_macro_stage_to_command ()</title>
<indexterm zone="milter-utils-macro-stage-to-command"><primary>milter_utils_macro_stage_to_command</primary></indexterm>
<programlisting><link linkend="MilterCommand"><returnvalue>MilterCommand</returnvalue></link>       milter_utils_macro_stage_to_command (<link linkend="MilterMacroStage"><returnvalue>MilterMacroStage</returnvalue></link> stage);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>stage</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>返値</emphasis>&nbsp;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="milter-utils-set-error-with-sub-error" role="function">
<title>milter_utils_set_error_with_sub_error ()</title>
<indexterm zone="milter-utils-set-error-with-sub-error"><primary>milter_utils_set_error_with_sub_error</primary></indexterm>
<programlisting><link linkend="void"><returnvalue>void</returnvalue></link>                milter_utils_set_error_with_sub_error
                                                        (<link linkend="GError"><returnvalue>GError</returnvalue></link> **error,
                                                         <link linkend="GQuark"><returnvalue>GQuark</returnvalue></link> domain,
                                                         <link linkend="gint"><returnvalue>gint</returnvalue></link> error_code,
                                                         <link linkend="GError"><returnvalue>GError</returnvalue></link> *sub_error,
                                                         const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *format,
                                                         ...);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>error</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>domain</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>error_code</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>sub_error</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>format</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>...</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="milter-utils-timeout-add" role="function">
<title>milter_utils_timeout_add ()</title>
<indexterm zone="milter-utils-timeout-add"><primary>milter_utils_timeout_add</primary></indexterm>
<programlisting><link linkend="guint"><returnvalue>guint</returnvalue></link>               milter_utils_timeout_add            (<link linkend="gdouble"><returnvalue>gdouble</returnvalue></link> interval,
                                                         <link linkend="GSourceFunc"><returnvalue>GSourceFunc</returnvalue></link> function,
                                                         <link linkend="gpointer"><returnvalue>gpointer</returnvalue></link> data);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>interval</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>function</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>data</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>返値</emphasis>&nbsp;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="milter-utils-flags-from-string" role="function">
<title>milter_utils_flags_from_string ()</title>
<indexterm zone="milter-utils-flags-from-string"><primary>milter_utils_flags_from_string</primary></indexterm>
<programlisting><link linkend="guint"><returnvalue>guint</returnvalue></link>               milter_utils_flags_from_string      (<link linkend="GType"><returnvalue>GType</returnvalue></link> flags_type,
                                                         const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *flags_string);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>flags_type</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>flags_string</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>返値</emphasis>&nbsp;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="milter-utils-enum-from-string" role="function">
<title>milter_utils_enum_from_string ()</title>
<indexterm zone="milter-utils-enum-from-string"><primary>milter_utils_enum_from_string</primary></indexterm>
<programlisting><link linkend="gint"><returnvalue>gint</returnvalue></link>                milter_utils_enum_from_string       (<link linkend="GType"><returnvalue>GType</returnvalue></link> enum_type,
                                                         const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *enum_string);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>enum_type</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>enum_string</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>返値</emphasis>&nbsp;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="milter-utils-append-indent" role="function">
<title>milter_utils_append_indent ()</title>
<indexterm zone="milter-utils-append-indent"><primary>milter_utils_append_indent</primary></indexterm>
<programlisting><link linkend="void"><returnvalue>void</returnvalue></link>                milter_utils_append_indent          (<link linkend="GString"><returnvalue>GString</returnvalue></link> *string,
                                                         <link linkend="guint"><returnvalue>guint</returnvalue></link> size);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>string</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>size</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="milter-utils-xml-append-text-element" role="function">
<title>milter_utils_xml_append_text_element ()</title>
<indexterm zone="milter-utils-xml-append-text-element"><primary>milter_utils_xml_append_text_element</primary></indexterm>
<programlisting><link linkend="void"><returnvalue>void</returnvalue></link>                milter_utils_xml_append_text_element
                                                        (<link linkend="GString"><returnvalue>GString</returnvalue></link> *string,
                                                         const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *name,
                                                         const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *content,
                                                         <link linkend="guint"><returnvalue>guint</returnvalue></link> indent);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>string</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>name</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>content</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>indent</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="milter-utils-xml-append-boolean-element" role="function">
<title>milter_utils_xml_append_boolean_element ()</title>
<indexterm zone="milter-utils-xml-append-boolean-element"><primary>milter_utils_xml_append_boolean_element</primary></indexterm>
<programlisting><link linkend="void"><returnvalue>void</returnvalue></link>                milter_utils_xml_append_boolean_element
                                                        (<link linkend="GString"><returnvalue>GString</returnvalue></link> *string,
                                                         const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *name,
                                                         <link linkend="gboolean"><returnvalue>gboolean</returnvalue></link> boolean,
                                                         <link linkend="guint"><returnvalue>guint</returnvalue></link> indent);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>string</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>name</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>boolean</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>indent</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="milter-utils-strcmp0" role="function">
<title>milter_utils_strcmp0 ()</title>
<indexterm zone="milter-utils-strcmp0"><primary>milter_utils_strcmp0</primary></indexterm>
<programlisting><link linkend="gint"><returnvalue>gint</returnvalue></link>                milter_utils_strcmp0                (const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *str1,
                                                         const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *str2);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>str1</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>str2</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>返値</emphasis>&nbsp;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>

</refentry>
