<?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" [
<!ENTITY version SYSTEM "version.xml">
]>
<refentry id="EmpathyIrcNetworkManager">
<refmeta>
<refentrytitle role="top_of_page" id="EmpathyIrcNetworkManager.top_of_page">EmpathyIrcNetworkManager</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBEMPATHY Library</refmiscinfo>
</refmeta>

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

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

<synopsis>
                    <link linkend="EmpathyIrcNetworkManager-struct">EmpathyIrcNetworkManager</link>;
<link linkend="EmpathyIrcNetworkManager">EmpathyIrcNetworkManager</link>* <link linkend="empathy-irc-network-manager-new">empathy_irc_network_manager_new</link>
                                                        (const <link linkend="gchar">gchar</link> *global_file,
                                                         const <link linkend="gchar">gchar</link> *user_file);
<link linkend="void">void</link>                <link linkend="empathy-irc-network-manager-add">empathy_irc_network_manager_add</link>     (<link linkend="EmpathyIrcNetworkManager">EmpathyIrcNetworkManager</link> *manager,
                                                         <link linkend="EmpathyIrcNetwork">EmpathyIrcNetwork</link> *network);
<link linkend="void">void</link>                <link linkend="empathy-irc-network-manager-remove">empathy_irc_network_manager_remove</link>  (<link linkend="EmpathyIrcNetworkManager">EmpathyIrcNetworkManager</link> *manager,
                                                         <link linkend="EmpathyIrcNetwork">EmpathyIrcNetwork</link> *network);
<link linkend="GSList">GSList</link>*             <link linkend="empathy-irc-network-manager-get-networks">empathy_irc_network_manager_get_networks</link>
                                                        (<link linkend="EmpathyIrcNetworkManager">EmpathyIrcNetworkManager</link> *manager);
<link linkend="EmpathyIrcNetwork">EmpathyIrcNetwork</link>*  <link linkend="empathy-irc-network-manager-find-network-by-address">empathy_irc_network_manager_find_network_by_address</link>
                                                        (<link linkend="EmpathyIrcNetworkManager">EmpathyIrcNetworkManager</link> *manager,
                                                         const <link linkend="gchar">gchar</link> *address);
</synopsis>
</refsynopsisdiv>

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

</refsect1>





<refsect1 id="EmpathyIrcNetworkManager.properties" role="properties">
<title role="properties.title">Properties</title>
<synopsis>
  &quot;<link linkend="EmpathyIrcNetworkManager--global-file">global-file</link>&quot;              <link linkend="gchar">gchar</link>*                : Read / Write / Construct Only
  &quot;<link linkend="EmpathyIrcNetworkManager--user-file">user-file</link>&quot;                <link linkend="gchar">gchar</link>*                : Read / Write / Construct Only
</synopsis>
</refsect1>



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

</para>
</refsect1>

<refsect1 id="EmpathyIrcNetworkManager.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="EmpathyIrcNetworkManager-struct" role="struct">
<title>EmpathyIrcNetworkManager</title>
<indexterm zone="EmpathyIrcNetworkManager-struct"><primary>EmpathyIrcNetworkManager</primary></indexterm><programlisting>typedef struct _EmpathyIrcNetworkManager EmpathyIrcNetworkManager;</programlisting>
<para>

</para></refsect2>
<refsect2 id="empathy-irc-network-manager-new" role="function">
<title>empathy_irc_network_manager_new ()</title>
<indexterm zone="empathy-irc-network-manager-new"><primary>empathy_irc_network_manager_new</primary></indexterm><programlisting><link linkend="EmpathyIrcNetworkManager">EmpathyIrcNetworkManager</link>* empathy_irc_network_manager_new
                                                        (const <link linkend="gchar">gchar</link> *global_file,
                                                         const <link linkend="gchar">gchar</link> *user_file);</programlisting>
<para>
Creates a new <link linkend="EmpathyIrcNetworkManager"><type>EmpathyIrcNetworkManager</type></link></para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>global_file</parameter>&nbsp;:</term>
<listitem><simpara> the path of the global networks file, or <link linkend="NULL:CAPS"><literal>NULL</literal></link>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>user_file</parameter>&nbsp;:</term>
<listitem><simpara> the path of the user networks file, or <link linkend="NULL:CAPS"><literal>NULL</literal></link>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a new <link linkend="EmpathyIrcNetworkManager"><type>EmpathyIrcNetworkManager</type></link>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="empathy-irc-network-manager-add" role="function">
<title>empathy_irc_network_manager_add ()</title>
<indexterm zone="empathy-irc-network-manager-add"><primary>empathy_irc_network_manager_add</primary></indexterm><programlisting><link linkend="void">void</link>                empathy_irc_network_manager_add     (<link linkend="EmpathyIrcNetworkManager">EmpathyIrcNetworkManager</link> *manager,
                                                         <link linkend="EmpathyIrcNetwork">EmpathyIrcNetwork</link> *network);</programlisting>
<para>
Add an <link linkend="EmpathyIrcNetwork"><type>EmpathyIrcNetwork</type></link> to the given <link linkend="EmpathyIrcNetworkManager"><type>EmpathyIrcNetworkManager</type></link>.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>manager</parameter>&nbsp;:</term>
<listitem><simpara> an <link linkend="EmpathyIrcNetworkManager"><type>EmpathyIrcNetworkManager</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>network</parameter>&nbsp;:</term>
<listitem><simpara> the <link linkend="EmpathyIrcNetwork"><type>EmpathyIrcNetwork</type></link> to add
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="empathy-irc-network-manager-remove" role="function">
<title>empathy_irc_network_manager_remove ()</title>
<indexterm zone="empathy-irc-network-manager-remove"><primary>empathy_irc_network_manager_remove</primary></indexterm><programlisting><link linkend="void">void</link>                empathy_irc_network_manager_remove  (<link linkend="EmpathyIrcNetworkManager">EmpathyIrcNetworkManager</link> *manager,
                                                         <link linkend="EmpathyIrcNetwork">EmpathyIrcNetwork</link> *network);</programlisting>
<para>
Remove an <link linkend="EmpathyIrcNetwork"><type>EmpathyIrcNetwork</type></link> from the given <link linkend="EmpathyIrcNetworkManager"><type>EmpathyIrcNetworkManager</type></link>.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>manager</parameter>&nbsp;:</term>
<listitem><simpara> an <link linkend="EmpathyIrcNetworkManager"><type>EmpathyIrcNetworkManager</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>network</parameter>&nbsp;:</term>
<listitem><simpara> the <link linkend="EmpathyIrcNetwork"><type>EmpathyIrcNetwork</type></link> to remove
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="empathy-irc-network-manager-get-networks" role="function">
<title>empathy_irc_network_manager_get_networks ()</title>
<indexterm zone="empathy-irc-network-manager-get-networks"><primary>empathy_irc_network_manager_get_networks</primary></indexterm><programlisting><link linkend="GSList">GSList</link>*             empathy_irc_network_manager_get_networks
                                                        (<link linkend="EmpathyIrcNetworkManager">EmpathyIrcNetworkManager</link> *manager);</programlisting>
<para>
Get the list of <link linkend="EmpathyIrcNetwork"><type>EmpathyIrcNetwork</type></link> associated with the given
manager.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>manager</parameter>&nbsp;:</term>
<listitem><simpara> an <link linkend="EmpathyIrcNetworkManager"><type>EmpathyIrcNetworkManager</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a new <link linkend="GSList"><type>GSList</type></link> of refed <link linkend="EmpathyIrcNetwork"><type>EmpathyIrcNetwork</type></link>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="empathy-irc-network-manager-find-network-by-address" role="function">
<title>empathy_irc_network_manager_find_network_by_address ()</title>
<indexterm zone="empathy-irc-network-manager-find-network-by-address"><primary>empathy_irc_network_manager_find_network_by_address</primary></indexterm><programlisting><link linkend="EmpathyIrcNetwork">EmpathyIrcNetwork</link>*  empathy_irc_network_manager_find_network_by_address
                                                        (<link linkend="EmpathyIrcNetworkManager">EmpathyIrcNetworkManager</link> *manager,
                                                         const <link linkend="gchar">gchar</link> *address);</programlisting>
<para>
Find the <link linkend="EmpathyIrcNetwork"><type>EmpathyIrcNetwork</type></link> which owns an <link linkend="EmpathyIrcServer"><type>EmpathyIrcServer</type></link>
that has the given address.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>manager</parameter>&nbsp;:</term>
<listitem><simpara> an <link linkend="EmpathyIrcNetworkManager"><type>EmpathyIrcNetworkManager</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>address</parameter>&nbsp;:</term>
<listitem><simpara> the server address to look for
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> the found <link linkend="EmpathyIrcNetwork"><type>EmpathyIrcNetwork</type></link>, or <link linkend="NULL:CAPS"><literal>NULL</literal></link> if not found.
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>
<refsect1 id="EmpathyIrcNetworkManager.property-details" role="property_details">
<title role="property_details.title">Property Details</title>
<refsect2 id="EmpathyIrcNetworkManager--global-file"><title>The <literal>&quot;global-file&quot;</literal> property</title>
<indexterm zone="EmpathyIrcNetworkManager--global-file"><primary>EmpathyIrcNetworkManager:global-file</primary></indexterm><programlisting>  &quot;global-file&quot;              <link linkend="gchar">gchar</link>*                : Read / Write / Construct Only</programlisting>
<para>The path of the system-wide filename from which we have to load the networks list.</para><para>Default value: NULL</para>
</refsect2>
<refsect2 id="EmpathyIrcNetworkManager--user-file"><title>The <literal>&quot;user-file&quot;</literal> property</title>
<indexterm zone="EmpathyIrcNetworkManager--user-file"><primary>EmpathyIrcNetworkManager:user-file</primary></indexterm><programlisting>  &quot;user-file&quot;                <link linkend="gchar">gchar</link>*                : Read / Write / Construct Only</programlisting>
<para>The path of user's  filename from which we have to load the networks list and to which we'll save his modifications.</para><para>Default value: NULL</para>
</refsect2>

</refsect1>




</refentry>
