|  |  |  | libempathy Reference Manual |  | 
|---|---|---|---|---|
                    EmpathyIrcNetworkManager;
EmpathyIrcNetworkManager* empathy_irc_network_manager_new
                                                        (const gchar *global_file,
                                                         const gchar *user_file);
void                empathy_irc_network_manager_add     (EmpathyIrcNetworkManager *manager,
                                                         EmpathyIrcNetwork *network);
void                empathy_irc_network_manager_remove  (EmpathyIrcNetworkManager *manager,
                                                         EmpathyIrcNetwork *network);
GSList*             empathy_irc_network_manager_get_networks
                                                        (EmpathyIrcNetworkManager *manager);
EmpathyIrcNetwork*  empathy_irc_network_manager_find_network_by_address
                                                        (EmpathyIrcNetworkManager *manager,
                                                         const gchar *address);
"global-file" gchararray : Read / Write / Construct Only "user-file" gchararray : Read / Write / Construct Only
EmpathyIrcNetworkManager* empathy_irc_network_manager_new (const gchar *global_file, const gchar *user_file);
Creates a new EmpathyIrcNetworkManager
| 
 | the path of the global networks file, or NULL | 
| 
 | the path of the user networks file, or NULL | 
| Returns : | a new EmpathyIrcNetworkManager | 
void empathy_irc_network_manager_add (EmpathyIrcNetworkManager *manager, EmpathyIrcNetwork *network);
Add an EmpathyIrcNetwork to the given EmpathyIrcNetworkManager.
| 
 | an EmpathyIrcNetworkManager | 
| 
 | the EmpathyIrcNetwork to add | 
void empathy_irc_network_manager_remove (EmpathyIrcNetworkManager *manager, EmpathyIrcNetwork *network);
Remove an EmpathyIrcNetwork from the given EmpathyIrcNetworkManager.
| 
 | an EmpathyIrcNetworkManager | 
| 
 | the EmpathyIrcNetwork to remove | 
GSList*             empathy_irc_network_manager_get_networks
                                                        (EmpathyIrcNetworkManager *manager);
Get the list of EmpathyIrcNetwork associated with the given manager.
| 
 | an EmpathyIrcNetworkManager | 
| Returns : | a new GSList of refed EmpathyIrcNetwork | 
EmpathyIrcNetwork* empathy_irc_network_manager_find_network_by_address (EmpathyIrcNetworkManager *manager, const gchar *address);
Find the EmpathyIrcNetwork which owns an EmpathyIrcServer that has the given address.
| 
 | an EmpathyIrcNetworkManager | 
| 
 | the server address to look for | 
| Returns : | the found EmpathyIrcNetwork, or NULLif not found. |