<?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="ESourceList">
<refmeta>
<refentrytitle role="top_of_page" id="ESourceList.top_of_page">ESourceList</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBEDATASERVER Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>ESourceList</refname>
<refpurpose></refpurpose>
</refnamediv>

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

<synopsis>
                    <link linkend="ESourceList-struct">ESourceList</link>;
<link linkend="ESourceList">ESourceList</link> *       <link linkend="e-source-list-new">e_source_list_new</link>                   (void);
<link linkend="ESourceList">ESourceList</link> *       <link linkend="e-source-list-new-for-gconf">e_source_list_new_for_gconf</link>         (<link linkend="GConfClient">GConfClient</link> *client,
                                                         const <link linkend="char">char</link> *path);
<link linkend="ESourceList">ESourceList</link> *       <link linkend="e-source-list-new-for-gconf-default">e_source_list_new_for_gconf_default</link> (const <link linkend="char">char</link> *path);
<link linkend="GSList">GSList</link> *            <link linkend="e-source-list-peek-groups">e_source_list_peek_groups</link>           (<link linkend="ESourceList">ESourceList</link> *list);
<link linkend="ESourceGroup">ESourceGroup</link> *      <link linkend="e-source-list-peek-group-by-uid">e_source_list_peek_group_by_uid</link>     (<link linkend="ESourceList">ESourceList</link> *list,
                                                         const <link linkend="char">char</link> *uid);
<link linkend="ESourceGroup">ESourceGroup</link> *      <link linkend="e-source-list-peek-group-by-name">e_source_list_peek_group_by_name</link>    (<link linkend="ESourceList">ESourceList</link> *list,
                                                         const <link linkend="char">char</link> *name);
<link linkend="ESource">ESource</link> *           <link linkend="e-source-list-peek-source-by-uid">e_source_list_peek_source_by_uid</link>    (<link linkend="ESourceList">ESourceList</link> *list,
                                                         const <link linkend="char">char</link> *uid);
<link linkend="ESource">ESource</link> *           <link linkend="e-source-list-peek-source-any">e_source_list_peek_source_any</link>       (<link linkend="ESourceList">ESourceList</link> *list);
<link linkend="gboolean">gboolean</link>            <link linkend="e-source-list-add-group">e_source_list_add_group</link>             (<link linkend="ESourceList">ESourceList</link> *list,
                                                         <link linkend="ESourceGroup">ESourceGroup</link> *group,
                                                         <link linkend="int">int</link> position);
<link linkend="gboolean">gboolean</link>            <link linkend="e-source-list-remove-group">e_source_list_remove_group</link>          (<link linkend="ESourceList">ESourceList</link> *list,
                                                         <link linkend="ESourceGroup">ESourceGroup</link> *group);
<link linkend="gboolean">gboolean</link>            <link linkend="e-source-list-remove-group-by-uid">e_source_list_remove_group_by_uid</link>   (<link linkend="ESourceList">ESourceList</link> *list,
                                                         const <link linkend="char">char</link> *uid);
<link linkend="gboolean">gboolean</link>            <link linkend="e-source-list-remove-source-by-uid">e_source_list_remove_source_by_uid</link>  (<link linkend="ESourceList">ESourceList</link> *list,
                                                         const <link linkend="char">char</link> *uidj);
<link linkend="gboolean">gboolean</link>            <link linkend="e-source-list-sync">e_source_list_sync</link>                  (<link linkend="ESourceList">ESourceList</link> *list,
                                                         <link linkend="GError">GError</link> **error);
<link linkend="gboolean">gboolean</link>            <link linkend="e-source-list-is-gconf-updated">e_source_list_is_gconf_updated</link>      (<link linkend="ESourceList">ESourceList</link> *list);
</synopsis>
</refsynopsisdiv>

<refsect1 id="ESourceList.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
  <link linkend="GObject">GObject</link>
   +----ESourceList
</synopsis>
</refsect1>






<refsect1 id="ESourceList.signals" role="signal_proto">
<title role="signal_proto.title">Signals</title>
<synopsis>
  &quot;<link linkend="ESourceList-changed">changed</link>&quot;                                        : Run Last
  &quot;<link linkend="ESourceList-group-added">group-added</link>&quot;                                    : Run Last
  &quot;<link linkend="ESourceList-group-removed">group-removed</link>&quot;                                  : Run Last
</synopsis>
</refsect1>


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

<refsect1 id="ESourceList.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="ESourceList-struct" role="struct">
<title>ESourceList</title>
<indexterm zone="ESourceList-struct"><primary sortas="ESourceList">ESourceList</primary></indexterm><programlisting>typedef struct _ESourceList ESourceList;</programlisting>
<para>
</para></refsect2>
<refsect2 id="e-source-list-new" role="function">
<title>e_source_list_new ()</title>
<indexterm zone="e-source-list-new"><primary sortas="e_source_list_new">e_source_list_new</primary></indexterm><programlisting><link linkend="ESourceList">ESourceList</link> *       e_source_list_new                   (void);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="e-source-list-new-for-gconf" role="function">
<title>e_source_list_new_for_gconf ()</title>
<indexterm zone="e-source-list-new-for-gconf"><primary sortas="e_source_list_new_for_gconf">e_source_list_new_for_gconf</primary></indexterm><programlisting><link linkend="ESourceList">ESourceList</link> *       e_source_list_new_for_gconf         (<link linkend="GConfClient">GConfClient</link> *client,
                                                         const <link linkend="char">char</link> *path);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>client</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<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="e-source-list-new-for-gconf-default" role="function">
<title>e_source_list_new_for_gconf_default ()</title>
<indexterm zone="e-source-list-new-for-gconf-default"><primary sortas="e_source_list_new_for_gconf_default">e_source_list_new_for_gconf_default</primary></indexterm><programlisting><link linkend="ESourceList">ESourceList</link> *       e_source_list_new_for_gconf_default (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="e-source-list-peek-groups" role="function">
<title>e_source_list_peek_groups ()</title>
<indexterm zone="e-source-list-peek-groups"><primary sortas="e_source_list_peek_groups">e_source_list_peek_groups</primary></indexterm><programlisting><link linkend="GSList">GSList</link> *            e_source_list_peek_groups           (<link linkend="ESourceList">ESourceList</link> *list);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>list</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="e-source-list-peek-group-by-uid" role="function">
<title>e_source_list_peek_group_by_uid ()</title>
<indexterm zone="e-source-list-peek-group-by-uid"><primary sortas="e_source_list_peek_group_by_uid">e_source_list_peek_group_by_uid</primary></indexterm><programlisting><link linkend="ESourceGroup">ESourceGroup</link> *      e_source_list_peek_group_by_uid     (<link linkend="ESourceList">ESourceList</link> *list,
                                                         const <link linkend="char">char</link> *uid);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>list</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>uid</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="e-source-list-peek-group-by-name" role="function">
<title>e_source_list_peek_group_by_name ()</title>
<indexterm zone="e-source-list-peek-group-by-name"><primary sortas="e_source_list_peek_group_by_name">e_source_list_peek_group_by_name</primary></indexterm><programlisting><link linkend="ESourceGroup">ESourceGroup</link> *      e_source_list_peek_group_by_name    (<link linkend="ESourceList">ESourceList</link> *list,
                                                         const <link linkend="char">char</link> *name);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>list</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>name</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="e-source-list-peek-source-by-uid" role="function">
<title>e_source_list_peek_source_by_uid ()</title>
<indexterm zone="e-source-list-peek-source-by-uid"><primary sortas="e_source_list_peek_source_by_uid">e_source_list_peek_source_by_uid</primary></indexterm><programlisting><link linkend="ESource">ESource</link> *           e_source_list_peek_source_by_uid    (<link linkend="ESourceList">ESourceList</link> *list,
                                                         const <link linkend="char">char</link> *uid);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>list</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>uid</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="e-source-list-peek-source-any" role="function">
<title>e_source_list_peek_source_any ()</title>
<indexterm zone="e-source-list-peek-source-any"><primary sortas="e_source_list_peek_source_any">e_source_list_peek_source_any</primary></indexterm><programlisting><link linkend="ESource">ESource</link> *           e_source_list_peek_source_any       (<link linkend="ESourceList">ESourceList</link> *list);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>list</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="e-source-list-add-group" role="function">
<title>e_source_list_add_group ()</title>
<indexterm zone="e-source-list-add-group"><primary sortas="e_source_list_add_group">e_source_list_add_group</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            e_source_list_add_group             (<link linkend="ESourceList">ESourceList</link> *list,
                                                         <link linkend="ESourceGroup">ESourceGroup</link> *group,
                                                         <link linkend="int">int</link> position);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>list</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>group</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>position</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="e-source-list-remove-group" role="function">
<title>e_source_list_remove_group ()</title>
<indexterm zone="e-source-list-remove-group"><primary sortas="e_source_list_remove_group">e_source_list_remove_group</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            e_source_list_remove_group          (<link linkend="ESourceList">ESourceList</link> *list,
                                                         <link linkend="ESourceGroup">ESourceGroup</link> *group);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>list</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>group</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="e-source-list-remove-group-by-uid" role="function">
<title>e_source_list_remove_group_by_uid ()</title>
<indexterm zone="e-source-list-remove-group-by-uid"><primary sortas="e_source_list_remove_group_by_uid">e_source_list_remove_group_by_uid</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            e_source_list_remove_group_by_uid   (<link linkend="ESourceList">ESourceList</link> *list,
                                                         const <link linkend="char">char</link> *uid);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>list</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>uid</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="e-source-list-remove-source-by-uid" role="function">
<title>e_source_list_remove_source_by_uid ()</title>
<indexterm zone="e-source-list-remove-source-by-uid"><primary sortas="e_source_list_remove_source_by_uid">e_source_list_remove_source_by_uid</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            e_source_list_remove_source_by_uid  (<link linkend="ESourceList">ESourceList</link> *list,
                                                         const <link linkend="char">char</link> *uidj);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>list</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>uidj</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="e-source-list-sync" role="function">
<title>e_source_list_sync ()</title>
<indexterm zone="e-source-list-sync"><primary sortas="e_source_list_sync">e_source_list_sync</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            e_source_list_sync                  (<link linkend="ESourceList">ESourceList</link> *list,
                                                         <link linkend="GError">GError</link> **error);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>list</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>error</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="e-source-list-is-gconf-updated" role="function">
<title>e_source_list_is_gconf_updated ()</title>
<indexterm zone="e-source-list-is-gconf-updated"><primary sortas="e_source_list_is_gconf_updated">e_source_list_is_gconf_updated</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            e_source_list_is_gconf_updated      (<link linkend="ESourceList">ESourceList</link> *list);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>list</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>

<refsect1 id="ESourceList.signal-details" role="signals">
<title role="signals.title">Signal Details</title>
<refsect2 id="ESourceList-changed"><title>The <literal>&quot;changed&quot;</literal> signal</title>
<indexterm zone="ESourceList-changed"><primary sortas="ESourceList::changed">ESourceList::changed</primary></indexterm><programlisting><link linkend="void">void</link>                user_function                      (<link linkend="ESourceList">ESourceList</link> *esourcelist,
                                                        <link linkend="gpointer">gpointer</link>     user_data)        : Run Last</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>esourcelist</parameter>&#160;:</term>
<listitem><simpara>the object which received the signal.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>user_data</parameter>&#160;:</term>
<listitem><simpara>user data set when the signal handler was connected.</simpara></listitem></varlistentry>
</variablelist></refsect2><refsect2 id="ESourceList-group-added"><title>The <literal>&quot;group-added&quot;</literal> signal</title>
<indexterm zone="ESourceList-group-added"><primary sortas="ESourceList::group-added">ESourceList::group-added</primary></indexterm><programlisting><link linkend="void">void</link>                user_function                      (<link linkend="ESourceList">ESourceList</link> *esourcelist,
                                                        <link linkend="gpointer">gpointer</link>     arg1,
                                                        <link linkend="gpointer">gpointer</link>     user_data)        : Run Last</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>esourcelist</parameter>&#160;:</term>
<listitem><simpara>the object which received the signal.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>arg1</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>user_data</parameter>&#160;:</term>
<listitem><simpara>user data set when the signal handler was connected.</simpara></listitem></varlistentry>
</variablelist></refsect2><refsect2 id="ESourceList-group-removed"><title>The <literal>&quot;group-removed&quot;</literal> signal</title>
<indexterm zone="ESourceList-group-removed"><primary sortas="ESourceList::group-removed">ESourceList::group-removed</primary></indexterm><programlisting><link linkend="void">void</link>                user_function                      (<link linkend="ESourceList">ESourceList</link> *esourcelist,
                                                        <link linkend="gpointer">gpointer</link>     arg1,
                                                        <link linkend="gpointer">gpointer</link>     user_data)        : Run Last</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>esourcelist</parameter>&#160;:</term>
<listitem><simpara>the object which received the signal.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>arg1</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>user_data</parameter>&#160;:</term>
<listitem><simpara>user data set when the signal handler was connected.</simpara></listitem></varlistentry>
</variablelist></refsect2>
</refsect1>



</refentry>
