~bcurtiswx/ubuntu/precise/empathy/3.4.2.1-0ubuntu1

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Laurent Bigonville
  • Date: 2009-11-16 23:40:52 UTC
  • mfrom: (1.1.39 upstream)
  • mto: (6.3.7 experimental)
  • mto: This revision was merged to the branch mainline in revision 80.
  • Revision ID: james.westby@ubuntu.com-20091116234052-7hhwrpeln4mwdyw7
Tags: upstream-2.29.2
ImportĀ upstreamĀ versionĀ 2.29.2

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__ */