Frameworks/libpurple.framework/Versions/0.6.2/Headers/fix_purple.h
author Zachary West <zacw@adium.im>
Fri Aug 21 13:25:11 2009 -0700 (2009-08-21)
changeset 2592 e8d15275025e
parent 1739 Frameworks/libpurple.framework/Versions/0.6.0/Headers/fix_purple.h@8b0daad9656c
permissions -rw-r--r--
im.pidgin.adium.1-4 at 267c6165e02e34318a1823960bd04c0639952f73
     1 /**
     2  * Copyright (C) 2007-2008 Felipe Contreras
     3  *
     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.
     8  * 
     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.
    13  * 
    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.
    17  */
    18 
    19 #ifndef FIX_PURPLE_H
    20 #define FIX_PURPLE_H
    21 
    22 struct _PurpleConnection;
    23 
    24 #include <glib.h>
    25 
    26 #if !GLIB_CHECK_VERSION(2,3,1)
    27 
    28 #if GLIB_SIZEOF_LONG == 8
    29 #define G_GSIZE_FORMAT "lu"
    30 #else
    31 #define G_GSIZE_FORMAT "u"
    32 #endif
    33 
    34 #endif /* !GLIB_CHECK_VERSION(2,3,1) */
    35 
    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);
    38 
    39 #endif /* FIX_PURPLE_H */