<?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 Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>SoupCutter</refname>
<refpurpose>HTTP supported Cutter with libsoup.</refpurpose>
</refnamediv>

<refsect1 id="cutter-SoupCutter.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="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">Description</title>
<para>SoupCutter adds many useful HTTP related features based
on libsoup to Cutter. If you want to write tests for
HTTP, it's good idea that you consider SoupCutter to be
used too.</para>
<para>It's easy to use SoupCutter. You just include
&lt;soupcuttter.h&gt; instead of &lt;cutter.h&gt;
or &lt;gcutter.h&gt; and use soupcutter-pixbuf.pc instead
of cutter.pc or gcutter.pc:</para>
<para>test-xxx.c:</para>
<informalexample><programlisting><![CDATA[
-#include <cutter.h>
+#include <soupcutter.h>
]]></programlisting></informalexample>
<para></para>
<para>configure.ac:</para>
<informalexample><programlisting><![CDATA[
-AC_CHECK_CUTTER
+AC_CHECK_SOUPCUTTER
]]></programlisting></informalexample>
<para></para>
<para>Makefile.am:</para>
<informalexample><programlisting><![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>Defined when SoupCutter is enabled.</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>See Also</title>
<para><link
           linkend="cutter-Assertions-for-HTTP-client-and-server">
           Assertions for HTTP client/server based on libsoup</link></para>

</refsect1>

</refentry>
