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