<?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="libedata-cal-e-cal-backend-util">
<refmeta>
<refentrytitle role="top_of_page">e-cal-backend-util</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBEDATA-CAL Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>e-cal-backend-util</refname>
<refpurpose>Utility functions for backends.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>

<refsynopsisdiv role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>



<link linkend="gboolean">gboolean</link>            <link linkend="e-cal-backend-mail-account-get-default">e_cal_backend_mail_account_get_default</link>
                                                        (<link linkend="char">char</link> **address,
                                                         <link linkend="char">char</link> **name);
<link linkend="gboolean">gboolean</link>            <link linkend="e-cal-backend-mail-account-is-valid">e_cal_backend_mail_account_is_valid</link> (<link linkend="char">char</link> *user,
                                                         <link linkend="char">char</link> **name);
</synopsis>
</refsynopsisdiv>









<refsect1 role="desc">
<title role="desc.title">Description</title>
<para>

</para>
</refsect1>

<refsect1 role="details">
<title role="details.title">Details</title>
<refsect2>
<title><anchor id="e-cal-backend-mail-account-get-default" role="function"/>e_cal_backend_mail_account_get_default ()</title>
<indexterm><primary>e_cal_backend_mail_account_get_default</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            e_cal_backend_mail_account_get_default
                                                        (<link linkend="char">char</link> **address,
                                                         <link linkend="char">char</link> **name);</programlisting>
<para>
Retrieve the default mail account as stored in Evolution configuration.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>address</parameter>&nbsp;:</term>
<listitem><simpara> Placeholder for default address.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>name</parameter>&nbsp;:</term>
<listitem><simpara> Placeholder for name.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> TRUE if there is a default account, FALSE otherwise.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="e-cal-backend-mail-account-is-valid" role="function"/>e_cal_backend_mail_account_is_valid ()</title>
<indexterm><primary>e_cal_backend_mail_account_is_valid</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            e_cal_backend_mail_account_is_valid (<link linkend="char">char</link> *user,
                                                         <link linkend="char">char</link> **name);</programlisting>
<para>
Checks that a mail account is valid, and returns its name.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>user</parameter>&nbsp;:</term>
<listitem><simpara> User name for the account to check.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>name</parameter>&nbsp;:</term>
<listitem><simpara> Placeholder for the account name.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> TRUE if the account is valid, FALSE if not.
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>




</refentry>
