diff options
author | Berke Viktor <bviktor@hexchat.org> | 2013-05-14 16:40:32 +0200 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2013-05-14 16:40:32 +0200 |
commit | a435e8648fa16c8f661626b055e0e6626bf26460 (patch) | |
tree | 5fce9360f1232168ec4f063076e98a5241717a07 /src/common/servlist.h | |
parent | 7cdfeff20490971c40deed9f59697f0e524348c8 (diff) |
Fix initial autojoins and some erroneous copies/frees
Diffstat (limited to 'src/common/servlist.h')
-rw-r--r-- | src/common/servlist.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/servlist.h b/src/common/servlist.h index 8558154b..dd88de1d 100644 --- a/src/common/servlist.h +++ b/src/common/servlist.h @@ -102,10 +102,15 @@ ircserver *servlist_server_add (ircnet *net, char *name); commandentry *servlist_command_add (ircnet *net, char *command); favchannel *servlist_favchan_add (ircnet *net, char *channel); +void servlist_command_free (commandentry *entry); +void servlist_favchan_free (favchannel *channel); + void servlist_server_remove (ircnet *net, ircserver *serv); void servlist_command_remove (ircnet *net, commandentry *entry); void servlist_favchan_remove (ircnet *net, favchannel *channel); +favchannel *servlist_favchan_copy (favchannel *fav); + gboolean joinlist_is_in_list (server *serv, char *channel); /* FIXME |