<?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-Core-library">
<refmeta>
<refentrytitle role="top_of_page" id="milter-manager-Core-library.top_of_page">Core library</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>milter managerライブラリ</refmiscinfo>
</refmeta>
<refnamediv>
<refname>Core library</refname>
<refpurpose>The core library to be used by
                    milter-manager libraries.</refpurpose>
</refnamediv>

<refsect1 id="milter-manager-Core-library.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="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="milter-init">milter_init</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="milter-quit">milter_quit</link> <phrase role="c_punctuation">()</phrase></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="milter-manager-Core-library.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">オブジェクト階層</title>
<screen>
</screen>
</refsect1>


<refsect1 id="milter-manager-Core-library.description" role="desc">
<title role="desc.title">説明</title>
<para>The milter-core library includes common features that are
used by the milter-client, milter-server and
milter-manager libraries.</para>
<para>Applications and libraries that use the milter-core
library need to call <link linkend="milter-init"><function>milter_init()</function></link> at the beginning and
<link linkend="milter-quit"><function>milter_quit()</function></link> at the end:</para>
<informalexample><programlisting><![CDATA[
#include <milter/core.h>

int
main (int argc, char **argv)
{
    milter_init();
    main_codes_that_use_the_milter_core_library();
    milter_quit();

    return 0;
}
]]></programlisting></informalexample>
<para/>

</refsect1>
<refsect1 id="milter-manager-Core-library.functions_details" role="details">
<title role="details.title">Functions</title>
<refsect2 id="milter-init" role="function">
<title>milter_init ()</title>
<indexterm zone="milter-init"><primary>milter_init</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
milter_init (<parameter><type>void</type></parameter>);</programlisting>
<para>Call this function before using any other the milter-core
library functions.</para>
</refsect2>
<refsect2 id="milter-quit" role="function">
<title>milter_quit ()</title>
<indexterm zone="milter-quit"><primary>milter_quit</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
milter_quit (<parameter><type>void</type></parameter>);</programlisting>
<para>Call this function after the milter-core library use.</para>
</refsect2>

</refsect1>
<refsect1 id="milter-manager-Core-library.other_details" role="details">
<title role="details.title">Types and Values</title>

</refsect1>

</refentry>
