Fix #45 Make it easy to delete default channels, servers and networks

Removing network will now also remove all attached servers
This commit is contained in:
isundil 2015-10-01 21:14:30 +02:00
commit 2ad6bb1295
3 changed files with 28 additions and 0 deletions

View file

@ -36,6 +36,10 @@ server_create_conn(int chat_type, const char *dest, int port,
SERVER_SETUP_REC *server_setup_find(const char *address, int port,
const char *chatnet);
/* Find all servers matching chatnet.
Return a list of SERVER_SETUP_REC */
GSList *server_setup_find_chatnet(const char *chatnet);
void server_setup_add(SERVER_SETUP_REC *rec);
void server_setup_remove(SERVER_SETUP_REC *rec);