summaryrefslogtreecommitdiff
path: root/tests/test-irc-helper.h
blob: 02eda91789ce35a189c5defd8dc00bfc3b82f121 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <string.h>

#include <tp-account-widgets/tpaw-irc-network-manager.h>

#ifndef __CHECK_IRC_HELPER_H__
#define __CHECK_IRC_HELPER_H__

struct server_t
{
  gchar *address;
  guint port;
  gboolean ssl;
};

void check_server (TpawIrcServer *server, const gchar *_address,
    guint _port, gboolean _ssl);

void check_network (TpawIrcNetwork *network, const gchar *_name,
    const gchar *_charset, struct server_t *_servers, guint nb_servers);

#endif /* __CHECK_IRC_HELPER_H__ */