~ubuntu-branches/ubuntu/natty/empathy/natty-updates

« back to all changes in this revision

Viewing changes to tests/check-irc-helper.h

Tags: upstream-0.22.0
ImportĀ upstreamĀ versionĀ 0.22.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include <stdlib.h>
 
2
#include <string.h>
 
3
 
 
4
#include <check.h>
 
5
#include "check-helpers.h"
 
6
 
 
7
#include <libempathy/empathy-irc-server.h>
 
8
#include <libempathy/empathy-irc-network.h>
 
9
#include <libempathy/empathy-irc-network-manager.h>
 
10
 
 
11
#ifndef __CHECK_IRC_HELPER_H__
 
12
#define __CHECK_IRC_HELPER_H__
 
13
 
 
14
struct server_t
 
15
{
 
16
  gchar *address;
 
17
  guint port;
 
18
  gboolean ssl;
 
19
};
 
20
 
 
21
void check_server (EmpathyIrcServer *server, const gchar *_address,
 
22
    guint _port, gboolean _ssl);
 
23
 
 
24
void check_network (EmpathyIrcNetwork *network, const gchar *_name,
 
25
    const gchar *_charset, struct server_t *_servers, guint nb_servers);
 
26
 
 
27
#endif /* __CHECK_IRC_HELPER_H__ */