<?xml version="1.0"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
               "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<refentry id="epiphany-ephy-cookie-manager">
<refmeta>
<refentrytitle role="top_of_page" id="epiphany-ephy-cookie-manager.top_of_page">ephy-cookie-manager</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>EPIPHANY Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>ephy-cookie-manager</refname>
<refpurpose></refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>

<refsynopsisdiv id="epiphany-ephy-cookie-manager.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>
#define             <link linkend="EPHY-COOKIE-MANAGER-IFACE:CAPS">EPHY_COOKIE_MANAGER_IFACE</link>           (k)
#define             <link linkend="EPHY-IS-COOKIE-MANAGER-IFACE:CAPS">EPHY_IS_COOKIE_MANAGER_IFACE</link>        (k)
#define             <link linkend="EPHY-TYPE-COOKIE:CAPS">EPHY_TYPE_COOKIE</link>
<link linkend="EphyCookie">EphyCookie</link>*         <link linkend="ephy-cookie-new">ephy_cookie_new</link>                     (void);
<link linkend="EphyCookie">EphyCookie</link>*         <link linkend="ephy-cookie-copy">ephy_cookie_copy</link>                    (const <link linkend="EphyCookie">EphyCookie</link> *cookie);
<link linkend="void">void</link>                <link linkend="ephy-cookie-free">ephy_cookie_free</link>                    (<link linkend="EphyCookie">EphyCookie</link> *cookie);
<link linkend="GType">GType</link>               <link linkend="ephy-cookie-manager-get-type">ephy_cookie_manager_get_type</link>        (void);
<link linkend="GList">GList</link>*              <link linkend="ephy-cookie-manager-list-cookies">ephy_cookie_manager_list_cookies</link>    (<link linkend="EphyCookieManager">EphyCookieManager</link> *manager);
<link linkend="void">void</link>                <link linkend="ephy-cookie-manager-remove-cookie">ephy_cookie_manager_remove_cookie</link>   (<link linkend="EphyCookieManager">EphyCookieManager</link> *manager,
                                                         const <link linkend="EphyCookie">EphyCookie</link> *cookie);
<link linkend="void">void</link>                <link linkend="ephy-cookie-manager-clear">ephy_cookie_manager_clear</link>           (<link linkend="EphyCookieManager">EphyCookieManager</link> *manager);
</synopsis>
</refsynopsisdiv>









<refsect1 id="epiphany-ephy-cookie-manager.description" role="desc">
<title role="desc.title">Description</title>
<para>

</para>
</refsect1>

<refsect1 id="epiphany-ephy-cookie-manager.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="EPHY-COOKIE-MANAGER-IFACE:CAPS" role="macro">
<title>EPHY_COOKIE_MANAGER_IFACE()</title>
<indexterm zone="EPHY-COOKIE-MANAGER-IFACE:CAPS"><primary>EPHY_COOKIE_MANAGER_IFACE</primary></indexterm><programlisting>#define EPHY_COOKIE_MANAGER_IFACE(k)		(G_TYPE_CHECK_CLASS_CAST((k), EPHY_TYPE_COOKIE_MANAGER, EphyCookieManagerIface))
</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>k</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="EPHY-IS-COOKIE-MANAGER-IFACE:CAPS" role="macro">
<title>EPHY_IS_COOKIE_MANAGER_IFACE()</title>
<indexterm zone="EPHY-IS-COOKIE-MANAGER-IFACE:CAPS"><primary>EPHY_IS_COOKIE_MANAGER_IFACE</primary></indexterm><programlisting>#define EPHY_IS_COOKIE_MANAGER_IFACE(k)		(G_TYPE_CHECK_CLASS_TYPE ((k), EPHY_TYPE_COOKIE_MANAGER))
</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>k</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="EPHY-TYPE-COOKIE:CAPS" role="macro">
<title>EPHY_TYPE_COOKIE</title>
<indexterm zone="EPHY-TYPE-COOKIE:CAPS"><primary>EPHY_TYPE_COOKIE</primary></indexterm><programlisting>#define EPHY_TYPE_COOKIE			(ephy_cookie_get_type ())
</programlisting>
<para>

</para></refsect2>
<refsect2 id="ephy-cookie-new" role="function">
<title>ephy_cookie_new ()</title>
<indexterm zone="ephy-cookie-new"><primary>ephy_cookie_new</primary></indexterm><programlisting><link linkend="EphyCookie">EphyCookie</link>*         ephy_cookie_new                     (void);</programlisting>
<para>
</para>
<para>

</para><variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a new <link linkend="EphyCookie"><type>EphyCookie</type></link>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="ephy-cookie-copy" role="function">
<title>ephy_cookie_copy ()</title>
<indexterm zone="ephy-cookie-copy"><primary>ephy_cookie_copy</primary></indexterm><programlisting><link linkend="EphyCookie">EphyCookie</link>*         ephy_cookie_copy                    (const <link linkend="EphyCookie">EphyCookie</link> *cookie);</programlisting>
<para>
</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>cookie</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="EphyCookie"><type>EphyCookie</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a copy of <parameter>cookie</parameter>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="ephy-cookie-free" role="function">
<title>ephy_cookie_free ()</title>
<indexterm zone="ephy-cookie-free"><primary>ephy_cookie_free</primary></indexterm><programlisting><link linkend="void">void</link>                ephy_cookie_free                    (<link linkend="EphyCookie">EphyCookie</link> *cookie);</programlisting>
<para>
Frees <parameter>cookie</parameter>.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>cookie</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="EphyCookie"><type>EphyCookie</type></link>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="ephy-cookie-manager-get-type" role="function">
<title>ephy_cookie_manager_get_type ()</title>
<indexterm zone="ephy-cookie-manager-get-type"><primary>ephy_cookie_manager_get_type</primary></indexterm><programlisting><link linkend="GType">GType</link>               ephy_cookie_manager_get_type        (void);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="ephy-cookie-manager-list-cookies" role="function">
<title>ephy_cookie_manager_list_cookies ()</title>
<indexterm zone="ephy-cookie-manager-list-cookies"><primary>ephy_cookie_manager_list_cookies</primary></indexterm><programlisting><link linkend="GList">GList</link>*              ephy_cookie_manager_list_cookies    (<link linkend="EphyCookieManager">EphyCookieManager</link> *manager);</programlisting>
<para>
Lists all cookies in the cookies database.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>manager</parameter>&nbsp;:</term>
<listitem><simpara> the <link linkend="EphyCookieManager"><type>EphyCookieManager</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> the cookies list
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="ephy-cookie-manager-remove-cookie" role="function">
<title>ephy_cookie_manager_remove_cookie ()</title>
<indexterm zone="ephy-cookie-manager-remove-cookie"><primary>ephy_cookie_manager_remove_cookie</primary></indexterm><programlisting><link linkend="void">void</link>                ephy_cookie_manager_remove_cookie   (<link linkend="EphyCookieManager">EphyCookieManager</link> *manager,
                                                         const <link linkend="EphyCookie">EphyCookie</link> *cookie);</programlisting>
<para>
Removes <parameter>cookie</parameter> from the cookies database. You must free <parameter>cookie</parameter> yourself.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>manager</parameter>&nbsp;:</term>
<listitem><simpara> the <link linkend="EphyCookieManager"><type>EphyCookieManager</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>cookie</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="EphyCookie"><type>EphyCookie</type></link>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="ephy-cookie-manager-clear" role="function">
<title>ephy_cookie_manager_clear ()</title>
<indexterm zone="ephy-cookie-manager-clear"><primary>ephy_cookie_manager_clear</primary></indexterm><programlisting><link linkend="void">void</link>                ephy_cookie_manager_clear           (<link linkend="EphyCookieManager">EphyCookieManager</link> *manager);</programlisting>
<para>
Clears the cookies database.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>manager</parameter>&nbsp;:</term>
<listitem><simpara> the <link linkend="EphyCookieManager"><type>EphyCookieManager</type></link>
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>




</refentry>
