<?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="cutter-SoupCutter">
<refmeta>
<refentrytitle role="top_of_page" id="cutter-SoupCutter.top_of_page"
>SoupCutter</refentrytitle>
<manvolnum
>3</manvolnum>
<refmiscinfo
>Cutterライブラリ</refmiscinfo>
</refmeta>
<refnamediv>
<refname
>SoupCutter</refname>
<refpurpose
>libsoupを用いたHTTPサポート付きのCutter。</refpurpose>
</refnamediv>

<refsect1 id="cutter-SoupCutter.other" role="other_proto">
<title role="other_proto.title"
>Types and Values</title>
<informaltable pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="other_proto_type" colwidth="150px"/>
<colspec colname="other_proto_name"/>
<tbody>
<row
><entry role="define_keyword"
>#define</entry
><entry role="function_name"
><link linkend="SOUPCUTTER-ENABLED:CAPS"
>SOUPCUTTER_ENABLED</link
></entry
></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>


<refsect1 id="cutter-SoupCutter.description" role="desc">
<title role="desc.title"
>説明</title>
<para
>SoupCutterはlibsoupを用いたHTTP関連のたくさんの便利な機能をCutterに追加します。より簡単にHTTPのテストを書きたい場合はSoupCutterの使用を検討してください。</para>
<para
>SoupCutterを使うことは簡単です。&lt;cutter.h&gt;または&lt;gcutter.h&gt;の代わりに&lt;soupcutter.h&gt;をincludeし、cutter.pcまたはgcutter.pcの代わりにsoupcutter.pcを使うだけです。</para>
<para
>test-xxx.c:</para>
<informalexample
><programlisting role="example"
><![CDATA[
-#include <cutter.h>
+#include <soupcutter.h>
]]></programlisting
></informalexample>
<para
></para>
<para
>configure.ac:</para>
<informalexample
><programlisting role="example"
><![CDATA[
-AC_CHECK_CUTTER
+AC_CHECK_SOUPCUTTER
]]></programlisting
></informalexample>
<para
></para>
<para
>Makefile.am:</para>
<informalexample
><programlisting role="example"
><![CDATA[
-XXX_CFLAGS = $(CUTTER_CFLAGS)
-XXX_LIBS = $(CUTTER_LIBS)
+XXX_CFLAGS = $(SOUPCUTTER_CFLAGS)
+XXX_LIBS = $(SOUPCUTTER_LIBS)
]]></programlisting
></informalexample>
<para
></para>

</refsect1>
<refsect1 id="cutter-SoupCutter.functions_details" role="details">
<title role="details.title"
>Functions</title>
<para/>
</refsect1>
<refsect1 id="cutter-SoupCutter.other_details" role="details">
<title role="details.title"
>Types and Values</title>
<refsect2 id="SOUPCUTTER-ENABLED:CAPS" role="macro" condition="since:1.0.8">
<title
>SOUPCUTTER_ENABLED</title>
<indexterm zone="SOUPCUTTER-ENABLED:CAPS" role="1.0.8"
><primary
>SOUPCUTTER_ENABLED</primary
></indexterm>
<programlisting language="C"
>#define SOUPCUTTER_ENABLED 1
</programlisting>
<para
>SoupCutterが有効なとき定義されます。</para>
<para role="since"
>Since: <link linkend="api-index-1.0.8"
>1.0.8</link
></para
></refsect2>

</refsect1>
<refsect1 id="cutter-SoupCutter.see-also">
<title
>参考</title>
<para
><link
linkend="cutter-Assertions-for-HTTP-client-and-server"
>libsoupを使ったHTTPクライアント・サーバ用の検証</link
></para>

</refsect1>

</refentry>
