aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test-irc-helper.h
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-10-29 23:04:12 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-03 20:25:02 +0800
commitc0796c470597870b3b821aad1ea352d666153e83 (patch)
tree406488e383c0115495261e6a9f9660941bd57e88 /tests/test-irc-helper.h
parentd948dd18d07e799223057134557312885d0cad42 (diff)
downloadgsoc2013-empathy-c0796c470597870b3b821aad1ea352d666153e83.tar
gsoc2013-empathy-c0796c470597870b3b821aad1ea352d666153e83.tar.gz
gsoc2013-empathy-c0796c470597870b3b821aad1ea352d666153e83.tar.bz2
gsoc2013-empathy-c0796c470597870b3b821aad1ea352d666153e83.tar.lz
gsoc2013-empathy-c0796c470597870b3b821aad1ea352d666153e83.tar.xz
gsoc2013-empathy-c0796c470597870b3b821aad1ea352d666153e83.tar.zst
gsoc2013-empathy-c0796c470597870b3b821aad1ea352d666153e83.zip
rename check-irc-helper to test-irc-helper
Diffstat (limited to 'tests/test-irc-helper.h')
-rw-r--r--tests/test-irc-helper.h24
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__ */