diff options
Diffstat (limited to 'tests/test-irc-helper.h')
-rw-r--r-- | tests/test-irc-helper.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/test-irc-helper.h b/tests/test-irc-helper.h new file mode 100644 index 000000000..e375f6fb6 --- /dev/null +++ b/tests/test-irc-helper.h @@ -0,0 +1,24 @@ +#include <stdlib.h> +#include <string.h> + +#include <libempathy/empathy-irc-server.h> +#include <libempathy/empathy-irc-network.h> +#include <libempathy/empathy-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 (EmpathyIrcServer *server, const gchar *_address, + guint _port, gboolean _ssl); + +void check_network (EmpathyIrcNetwork *network, const gchar *_name, + const gchar *_charset, struct server_t *_servers, guint nb_servers); + +#endif /* __CHECK_IRC_HELPER_H__ */ |