Standardize all protocol header guard macros.
[pidgin-git.git] / libpurple / protocols / gg / message-prpl.h
blob0edb70996d56c66ac303bf254dbc41b3ccdd5ac1
1 /* purple
3 * Purple is the legal property of its developers, whose names are too numerous
4 * to list here. Please refer to the COPYRIGHT file distributed with this
5 * source distribution.
7 * Component written by Tomek Wasilczyk (http://www.wasilczyk.pl).
9 * This file is dual-licensed under the GPL2+ and the X11 (MIT) licences.
10 * As a recipient of this file you may choose, which license to receive the
11 * code under. As a contributor, you have to ensure the new code is
12 * compatible with both.
14 * This program is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License as published by
16 * the Free Software Foundation; either version 2 of the License, or
17 * (at your option) any later version.
19 * This program is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
24 * You should have received a copy of the GNU General Public License
25 * along with this program; if not, write to the Free Software
26 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
29 #ifndef PURPLE_GG_MESSAGE_PRPL_H
30 #define PURPLE_GG_MESSAGE_PRPL_H
32 #include <internal.h>
33 #include <libgadu.h>
35 typedef struct _ggp_message_session_data ggp_message_session_data;
37 void ggp_message_setup_global(void);
38 void ggp_message_cleanup_global(void);
39 void ggp_message_setup(PurpleConnection *gc);
40 void ggp_message_cleanup(PurpleConnection *gc);
42 void ggp_message_got(PurpleConnection *gc, const struct gg_event_msg *ev);
43 void ggp_message_got_multilogon(PurpleConnection *gc,
44 const struct gg_event_msg *ev);
46 int ggp_message_send_im(PurpleConnection *gc, PurpleMessage *msg);
47 gchar * ggp_message_format_to_gg(PurpleConversation *conv, const gchar *text);
49 #endif /* PURPLE_GG_MESSAGE_PRPL_H */