<refentry id="camel-camel-url">
<refmeta>
<refentrytitle role="top_of_page" id="camel-camel-url.top_of_page">camel-url</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>CAMEL Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>camel-url</refname>
<refpurpose></refpurpose>
</refnamediv>

<refsynopsisdiv id="camel-camel-url.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>
                    <link linkend="CamelURL">CamelURL</link>;
#define             <link linkend="CAMEL-URL-HIDE-PASSWORD--CAPS">CAMEL_URL_HIDE_PASSWORD</link>
#define             <link linkend="CAMEL-URL-HIDE-PARAMS--CAPS">CAMEL_URL_HIDE_PARAMS</link>
#define             <link linkend="CAMEL-URL-HIDE-AUTH--CAPS">CAMEL_URL_HIDE_AUTH</link>
#define             <link linkend="CAMEL-URL-HIDE-ALL--CAPS">CAMEL_URL_HIDE_ALL</link>
<link linkend="CamelURL">CamelURL</link> *          <link linkend="camel-url-new-with-base">camel_url_new_with_base</link>             (<link linkend="CamelURL">CamelURL</link> *base,
                                                         const <link linkend="char">char</link> *url_string);
<link linkend="CamelURL">CamelURL</link> *          <link linkend="camel-url-new">camel_url_new</link>                       (const <link linkend="char">char</link> *url_string,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="char">char</link> *              <link linkend="camel-url-to-string">camel_url_to_string</link>                 (<link linkend="CamelURL">CamelURL</link> *url,
                                                         <link linkend="guint32">guint32</link> flags);
<link linkend="void">void</link>                <link linkend="camel-url-free">camel_url_free</link>                      (<link linkend="CamelURL">CamelURL</link> *url);
<link linkend="char">char</link> *              <link linkend="camel-url-encode">camel_url_encode</link>                    (const <link linkend="char">char</link> *part,
                                                         const <link linkend="char">char</link> *escape_extra);
<link linkend="void">void</link>                <link linkend="camel-url-decode">camel_url_decode</link>                    (<link linkend="char">char</link> *part);
<link linkend="char">char</link> *              <link linkend="camel-url-decode-path">camel_url_decode_path</link>               (const <link linkend="char">char</link> *path);
<link linkend="void">void</link>                <link linkend="camel-url-set-protocol">camel_url_set_protocol</link>              (<link linkend="CamelURL">CamelURL</link> *url,
                                                         const <link linkend="char">char</link> *protocol);
<link linkend="void">void</link>                <link linkend="camel-url-set-user">camel_url_set_user</link>                  (<link linkend="CamelURL">CamelURL</link> *url,
                                                         const <link linkend="char">char</link> *user);
<link linkend="void">void</link>                <link linkend="camel-url-set-authmech">camel_url_set_authmech</link>              (<link linkend="CamelURL">CamelURL</link> *url,
                                                         const <link linkend="char">char</link> *authmech);
<link linkend="void">void</link>                <link linkend="camel-url-set-passwd">camel_url_set_passwd</link>                (<link linkend="CamelURL">CamelURL</link> *url,
                                                         const <link linkend="char">char</link> *passwd);
<link linkend="void">void</link>                <link linkend="camel-url-set-host">camel_url_set_host</link>                  (<link linkend="CamelURL">CamelURL</link> *url,
                                                         const <link linkend="char">char</link> *host);
<link linkend="void">void</link>                <link linkend="camel-url-set-port">camel_url_set_port</link>                  (<link linkend="CamelURL">CamelURL</link> *url,
                                                         <link linkend="int">int</link> port);
<link linkend="void">void</link>                <link linkend="camel-url-set-path">camel_url_set_path</link>                  (<link linkend="CamelURL">CamelURL</link> *url,
                                                         const <link linkend="char">char</link> *path);
<link linkend="void">void</link>                <link linkend="camel-url-set-param">camel_url_set_param</link>                 (<link linkend="CamelURL">CamelURL</link> *url,
                                                         const <link linkend="char">char</link> *name,
                                                         const <link linkend="char">char</link> *value);
<link linkend="void">void</link>                <link linkend="camel-url-set-query">camel_url_set_query</link>                 (<link linkend="CamelURL">CamelURL</link> *url,
                                                         const <link linkend="char">char</link> *query);
<link linkend="void">void</link>                <link linkend="camel-url-set-fragment">camel_url_set_fragment</link>              (<link linkend="CamelURL">CamelURL</link> *url,
                                                         const <link linkend="char">char</link> *fragment);
const <link linkend="char">char</link> *        <link linkend="camel-url-get-param">camel_url_get_param</link>                 (<link linkend="CamelURL">CamelURL</link> *url,
                                                         const <link linkend="char">char</link> *name);
<link linkend="guint">guint</link>               <link linkend="camel-url-hash">camel_url_hash</link>                      (const <link linkend="void">void</link> *v);
<link linkend="int">int</link>                 <link linkend="camel-url-equal">camel_url_equal</link>                     (const <link linkend="void">void</link> *v,
                                                         const <link linkend="void">void</link> *v2);
<link linkend="CamelURL">CamelURL</link> *          <link linkend="camel-url-copy">camel_url_copy</link>                      (const <link linkend="CamelURL">CamelURL</link> *in);
</synopsis>
</refsynopsisdiv>









<refsect1 id="camel-camel-url.description" role="desc">
<title role="desc.title">Description</title>
<para>
</para>
</refsect1>

<refsect1 id="camel-camel-url.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="CamelURL" role="struct">
<title>CamelURL</title>
<indexterm zone="CamelURL"><primary sortas="CamelURL">CamelURL</primary></indexterm><programlisting>typedef struct {
	char  *protocol;
	char  *user;
	char  *authmech;
	char  *passwd;
	char  *host;
	int    port;
	char  *path;
	GData *params;
	char  *query;
	char  *fragment;
} CamelURL;
</programlisting>
<para>
</para></refsect2>
<refsect2 id="CAMEL-URL-HIDE-PASSWORD--CAPS" role="macro">
<title>CAMEL_URL_HIDE_PASSWORD</title>
<indexterm zone="CAMEL-URL-HIDE-PASSWORD--CAPS"><primary sortas="CAMEL_URL_HIDE_PASSWORD">CAMEL_URL_HIDE_PASSWORD</primary></indexterm><programlisting>#define CAMEL_URL_HIDE_PASSWORD	(1 &lt;&lt; 0)
</programlisting>
<para>
</para></refsect2>
<refsect2 id="CAMEL-URL-HIDE-PARAMS--CAPS" role="macro">
<title>CAMEL_URL_HIDE_PARAMS</title>
<indexterm zone="CAMEL-URL-HIDE-PARAMS--CAPS"><primary sortas="CAMEL_URL_HIDE_PARAMS">CAMEL_URL_HIDE_PARAMS</primary></indexterm><programlisting>#define CAMEL_URL_HIDE_PARAMS	(1 &lt;&lt; 1)
</programlisting>
<para>
</para></refsect2>
<refsect2 id="CAMEL-URL-HIDE-AUTH--CAPS" role="macro">
<title>CAMEL_URL_HIDE_AUTH</title>
<indexterm zone="CAMEL-URL-HIDE-AUTH--CAPS"><primary sortas="CAMEL_URL_HIDE_AUTH">CAMEL_URL_HIDE_AUTH</primary></indexterm><programlisting>#define CAMEL_URL_HIDE_AUTH	(1 &lt;&lt; 2)
</programlisting>
<para>
</para></refsect2>
<refsect2 id="CAMEL-URL-HIDE-ALL--CAPS" role="macro">
<title>CAMEL_URL_HIDE_ALL</title>
<indexterm zone="CAMEL-URL-HIDE-ALL--CAPS"><primary sortas="CAMEL_URL_HIDE_ALL">CAMEL_URL_HIDE_ALL</primary></indexterm><programlisting>#define CAMEL_URL_HIDE_ALL (CAMEL_URL_HIDE_PASSWORD | CAMEL_URL_HIDE_PARAMS | CAMEL_URL_HIDE_AUTH)
</programlisting>
<para>
</para></refsect2>
<refsect2 id="camel-url-new-with-base" role="function">
<title>camel_url_new_with_base ()</title>
<indexterm zone="camel-url-new-with-base"><primary sortas="camel_url_new_with_base">camel_url_new_with_base</primary></indexterm><programlisting><link linkend="CamelURL">CamelURL</link> *          camel_url_new_with_base             (<link linkend="CamelURL">CamelURL</link> *base,
                                                         const <link linkend="char">char</link> *url_string);</programlisting>
<para>
Parses <parameter>url_string</parameter> relative to <parameter>base</parameter>.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>base</parameter>&#160;:</term>
<listitem><simpara> a base URL
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>url_string</parameter>&#160;:</term>
<listitem><simpara> the URL
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> a parsed <link linkend="CamelURL"><type>CamelURL</type></link>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-url-new" role="function">
<title>camel_url_new ()</title>
<indexterm zone="camel-url-new"><primary sortas="camel_url_new">camel_url_new</primary></indexterm><programlisting><link linkend="CamelURL">CamelURL</link> *          camel_url_new                       (const <link linkend="char">char</link> *url_string,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
Parses an absolute URL.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>url_string</parameter>&#160;:</term>
<listitem><simpara> a URL string
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="CamelException"><type>CamelException</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> a <link linkend="CamelURL"><type>CamelURL</type></link> if it can be parsed, or <link linkend="NULL--CAPS"><literal>NULL</literal></link> otherwise
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-url-to-string" role="function">
<title>camel_url_to_string ()</title>
<indexterm zone="camel-url-to-string"><primary sortas="camel_url_to_string">camel_url_to_string</primary></indexterm><programlisting><link linkend="char">char</link> *              camel_url_to_string                 (<link linkend="CamelURL">CamelURL</link> *url,
                                                         <link linkend="guint32">guint32</link> flags);</programlisting>
<para>
Flatten a <link linkend="CamelURL"><type>CamelURL</type></link> into a string.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>url</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="CamelURL"><type>CamelURL</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>flags</parameter>&#160;:</term>
<listitem><simpara> additional translation options
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> a string representing <parameter>url</parameter>, which the caller must free
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-url-free" role="function">
<title>camel_url_free ()</title>
<indexterm zone="camel-url-free"><primary sortas="camel_url_free">camel_url_free</primary></indexterm><programlisting><link linkend="void">void</link>                camel_url_free                      (<link linkend="CamelURL">CamelURL</link> *url);</programlisting>
<para>
Frees <parameter>url</parameter>.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>url</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="CamelURL"><type>CamelURL</type></link>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-url-encode" role="function">
<title>camel_url_encode ()</title>
<indexterm zone="camel-url-encode"><primary sortas="camel_url_encode">camel_url_encode</primary></indexterm><programlisting><link linkend="char">char</link> *              camel_url_encode                    (const <link linkend="char">char</link> *part,
                                                         const <link linkend="char">char</link> *escape_extra);</programlisting>
<para>
This <link linkend="encodes"><literal>-encodes</literal></link> the given URL part and returns the escaped version
in allocated memory, which the caller must free when it is done.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>part</parameter>&#160;:</term>
<listitem><simpara> a URL part
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>escape_extra</parameter>&#160;:</term>
<listitem><simpara> additional characters beyond " \"%#&lt;&gt;{}|\^[]`"
to escape (or <link linkend="NULL--CAPS"><literal>NULL</literal></link>)
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> the encoded string
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-url-decode" role="function">
<title>camel_url_decode ()</title>
<indexterm zone="camel-url-decode"><primary sortas="camel_url_decode">camel_url_decode</primary></indexterm><programlisting><link linkend="void">void</link>                camel_url_decode                    (<link linkend="char">char</link> *part);</programlisting>
<para>
<link linkend="decodes"><literal>-decodes</literal></link> the passed-in URL *in place*. The decoded version is
never longer than the encoded version, so there does not need to
be any additional space at the end of the string.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>part</parameter>&#160;:</term>
<listitem><simpara> a URL part
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-url-decode-path" role="function">
<title>camel_url_decode_path ()</title>
<indexterm zone="camel-url-decode-path"><primary sortas="camel_url_decode_path">camel_url_decode_path</primary></indexterm><programlisting><link linkend="char">char</link> *              camel_url_decode_path               (const <link linkend="char">char</link> *path);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>path</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-url-set-protocol" role="function">
<title>camel_url_set_protocol ()</title>
<indexterm zone="camel-url-set-protocol"><primary sortas="camel_url_set_protocol">camel_url_set_protocol</primary></indexterm><programlisting><link linkend="void">void</link>                camel_url_set_protocol              (<link linkend="CamelURL">CamelURL</link> *url,
                                                         const <link linkend="char">char</link> *protocol);</programlisting>
<para>
Set the protocol of a <link linkend="CamelURL"><type>CamelURL</type></link>.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>url</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="CamelURL"><type>CamelURL</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>protocol</parameter>&#160;:</term>
<listitem><simpara> protocol schema
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-url-set-user" role="function">
<title>camel_url_set_user ()</title>
<indexterm zone="camel-url-set-user"><primary sortas="camel_url_set_user">camel_url_set_user</primary></indexterm><programlisting><link linkend="void">void</link>                camel_url_set_user                  (<link linkend="CamelURL">CamelURL</link> *url,
                                                         const <link linkend="char">char</link> *user);</programlisting>
<para>
Set the user of a <link linkend="CamelURL"><type>CamelURL</type></link>.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>url</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="CamelURL"><type>CamelURL</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>user</parameter>&#160;:</term>
<listitem><simpara> username
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-url-set-authmech" role="function">
<title>camel_url_set_authmech ()</title>
<indexterm zone="camel-url-set-authmech"><primary sortas="camel_url_set_authmech">camel_url_set_authmech</primary></indexterm><programlisting><link linkend="void">void</link>                camel_url_set_authmech              (<link linkend="CamelURL">CamelURL</link> *url,
                                                         const <link linkend="char">char</link> *authmech);</programlisting>
<para>
Set the authmech of a <link linkend="CamelURL"><type>CamelURL</type></link>.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>url</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="CamelURL"><type>CamelURL</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>authmech</parameter>&#160;:</term>
<listitem><simpara> authentication mechanism
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-url-set-passwd" role="function">
<title>camel_url_set_passwd ()</title>
<indexterm zone="camel-url-set-passwd"><primary sortas="camel_url_set_passwd">camel_url_set_passwd</primary></indexterm><programlisting><link linkend="void">void</link>                camel_url_set_passwd                (<link linkend="CamelURL">CamelURL</link> *url,
                                                         const <link linkend="char">char</link> *passwd);</programlisting>
<para>
Set the password of a <link linkend="CamelURL"><type>CamelURL</type></link>.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>url</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="CamelURL"><type>CamelURL</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>passwd</parameter>&#160;:</term>
<listitem><simpara> password
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-url-set-host" role="function">
<title>camel_url_set_host ()</title>
<indexterm zone="camel-url-set-host"><primary sortas="camel_url_set_host">camel_url_set_host</primary></indexterm><programlisting><link linkend="void">void</link>                camel_url_set_host                  (<link linkend="CamelURL">CamelURL</link> *url,
                                                         const <link linkend="char">char</link> *host);</programlisting>
<para>
Set the hostname of a <link linkend="CamelURL"><type>CamelURL</type></link>.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>url</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="CamelURL"><type>CamelURL</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>host</parameter>&#160;:</term>
<listitem><simpara> hostname
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-url-set-port" role="function">
<title>camel_url_set_port ()</title>
<indexterm zone="camel-url-set-port"><primary sortas="camel_url_set_port">camel_url_set_port</primary></indexterm><programlisting><link linkend="void">void</link>                camel_url_set_port                  (<link linkend="CamelURL">CamelURL</link> *url,
                                                         <link linkend="int">int</link> port);</programlisting>
<para>
Set the port on a <link linkend="CamelURL"><type>CamelURL</type></link>.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>url</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="CamelURL"><type>CamelURL</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>port</parameter>&#160;:</term>
<listitem><simpara> port
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-url-set-path" role="function">
<title>camel_url_set_path ()</title>
<indexterm zone="camel-url-set-path"><primary sortas="camel_url_set_path">camel_url_set_path</primary></indexterm><programlisting><link linkend="void">void</link>                camel_url_set_path                  (<link linkend="CamelURL">CamelURL</link> *url,
                                                         const <link linkend="char">char</link> *path);</programlisting>
<para>
Set the path component of a <link linkend="CamelURL"><type>CamelURL</type></link>.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>url</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="CamelURL"><type>CamelURL</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>path</parameter>&#160;:</term>
<listitem><simpara> path
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-url-set-param" role="function">
<title>camel_url_set_param ()</title>
<indexterm zone="camel-url-set-param"><primary sortas="camel_url_set_param">camel_url_set_param</primary></indexterm><programlisting><link linkend="void">void</link>                camel_url_set_param                 (<link linkend="CamelURL">CamelURL</link> *url,
                                                         const <link linkend="char">char</link> *name,
                                                         const <link linkend="char">char</link> *value);</programlisting>
<para>
Set a param on the <link linkend="CamelURL"><type>CamelURL</type></link>.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>url</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="CamelURL"><type>CamelURL</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>name</parameter>&#160;:</term>
<listitem><simpara> name of the param to set
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>value</parameter>&#160;:</term>
<listitem><simpara> value of the param to set
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-url-set-query" role="function">
<title>camel_url_set_query ()</title>
<indexterm zone="camel-url-set-query"><primary sortas="camel_url_set_query">camel_url_set_query</primary></indexterm><programlisting><link linkend="void">void</link>                camel_url_set_query                 (<link linkend="CamelURL">CamelURL</link> *url,
                                                         const <link linkend="char">char</link> *query);</programlisting>
<para>
Set the query of a <link linkend="CamelURL"><type>CamelURL</type></link>.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>url</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="CamelURL"><type>CamelURL</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>query</parameter>&#160;:</term>
<listitem><simpara> url query
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-url-set-fragment" role="function">
<title>camel_url_set_fragment ()</title>
<indexterm zone="camel-url-set-fragment"><primary sortas="camel_url_set_fragment">camel_url_set_fragment</primary></indexterm><programlisting><link linkend="void">void</link>                camel_url_set_fragment              (<link linkend="CamelURL">CamelURL</link> *url,
                                                         const <link linkend="char">char</link> *fragment);</programlisting>
<para>
Set the fragment of a <link linkend="CamelURL"><type>CamelURL</type></link>.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>url</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="CamelURL"><type>CamelURL</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>fragment</parameter>&#160;:</term>
<listitem><simpara> url fragment
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-url-get-param" role="function">
<title>camel_url_get_param ()</title>
<indexterm zone="camel-url-get-param"><primary sortas="camel_url_get_param">camel_url_get_param</primary></indexterm><programlisting>const <link linkend="char">char</link> *        camel_url_get_param                 (<link linkend="CamelURL">CamelURL</link> *url,
                                                         const <link linkend="char">char</link> *name);</programlisting>
<para>
Get the value of the specified param on the URL.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>url</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="CamelURL"><type>CamelURL</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>name</parameter>&#160;:</term>
<listitem><simpara> name of the param
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> the value of a param if found or <link linkend="NULL--CAPS"><literal>NULL</literal></link> otherwise
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-url-hash" role="function">
<title>camel_url_hash ()</title>
<indexterm zone="camel-url-hash"><primary sortas="camel_url_hash">camel_url_hash</primary></indexterm><programlisting><link linkend="guint">guint</link>               camel_url_hash                      (const <link linkend="void">void</link> *v);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>v</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-url-equal" role="function">
<title>camel_url_equal ()</title>
<indexterm zone="camel-url-equal"><primary sortas="camel_url_equal">camel_url_equal</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_url_equal                     (const <link linkend="void">void</link> *v,
                                                         const <link linkend="void">void</link> *v2);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>v</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>v2</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-url-copy" role="function">
<title>camel_url_copy ()</title>
<indexterm zone="camel-url-copy"><primary sortas="camel_url_copy">camel_url_copy</primary></indexterm><programlisting><link linkend="CamelURL">CamelURL</link> *          camel_url_copy                      (const <link linkend="CamelURL">CamelURL</link> *in);</programlisting>
<para>
Copy a <link linkend="CamelURL"><type>CamelURL</type></link>.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>in</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="CamelURL"><type>CamelURL</type></link> to copy
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> a duplicate copy of <parameter>in</parameter>
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>




</refentry>
