2 * Copyright (C) 2007-2008 Felipe Contreras
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License along
15 * with this program; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 struct _PurpleConnection;
26 #if !GLIB_CHECK_VERSION(2,3,1)
28 #if GLIB_SIZEOF_LONG == 8
29 #define G_GSIZE_FORMAT "lu"
31 #define G_GSIZE_FORMAT "u"
34 #endif /* !GLIB_CHECK_VERSION(2,3,1) */
36 void purple_buddy_set_displayname (struct _PurpleConnection *gc, const gchar *who, const gchar *value);
37 void purple_buddy_set_nickname (struct _PurpleConnection *gc, const gchar *who, const gchar *value);
39 #endif /* FIX_PURPLE_H */