Mercurial > pidgin.yaz
comparison libpurple/protocols/jabber/google/relay.h @ 30968:c954ee775713
added new files for Google relay-related functions
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Sun, 05 Sep 2010 08:54:43 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
30967:52803883f33f | 30968:c954ee775713 |
---|---|
1 /** | |
2 * Purple is the legal property of its developers, whose names are too numerous | |
3 * to list here. Please refer to the COPYRIGHT file distributed with this | |
4 * source distribution. | |
5 * | |
6 * This program is free software; you can redistribute it and/or modify | |
7 * it under the terms of the GNU General Public License as published by | |
8 * the Free Software Foundation; either version 2 of the License, or | |
9 * (at your option) any later version. | |
10 * | |
11 * This program is distributed in the hope that it will be useful, | |
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 * GNU General Public License for more details. | |
15 * | |
16 * You should have received a copy of the GNU General Public License | |
17 * along with this program; if not, write to the Free Software | |
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA | |
19 */ | |
20 | |
21 #ifndef JABBER_GOOGLE_RELAY | |
22 #define JABBER_GOOGLE_RELAY | |
23 | |
24 #include "google_session.h" | |
25 | |
26 typedef void (JabberGoogleRelayCallback)(GoogleSession *session, const gchar *ip, | |
27 guint udp_port, guint tcp_port, guint tls_port, | |
28 const gchar *username, const gchar *password); | |
29 | |
30 void jabber_google_do_relay_request(JabberStream *js, GoogleSession *session, | |
31 JabberGoogleRelayCallback cb); | |
32 | |
33 #endif /* JABBER_GOOGLE_RELAY */ |