rename accountopt.[ch] to purpleaccountoption.[ch]
[pidgin-git.git] / libpurple / protocols / jabber / google / relay.h
blobd1032c09fe0e292cde8ad2274cf2cd1c7633391c
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.
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.
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.
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
21 #ifndef JABBER_GOOGLE_RELAY
22 #define JABBER_GOOGLE_RELAY
24 #include "google_session.h"
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);
30 void jabber_google_do_relay_request(JabberStream *js, GoogleSession *session,
31 JabberGoogleRelayCallback cb);
33 #endif /* JABBER_GOOGLE_RELAY */