Frameworks/libpurple.framework/Versions/0.6.2/Headers/fix_purple.h
changeset 2592 e8d15275025e
parent 1739 8b0daad9656c
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Frameworks/libpurple.framework/Versions/0.6.2/Headers/fix_purple.h	Fri Aug 21 13:25:11 2009 -0700
     1.3 @@ -0,0 +1,39 @@
     1.4 +/**
     1.5 + * Copyright (C) 2007-2008 Felipe Contreras
     1.6 + *
     1.7 + * This program is free software; you can redistribute it and/or modify
     1.8 + * it under the terms of the GNU General Public License as published by
     1.9 + * the Free Software Foundation; either version 2 of the License, or
    1.10 + * (at your option) any later version.
    1.11 + * 
    1.12 + * This program is distributed in the hope that it will be useful,
    1.13 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.14 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1.15 + * GNU General Public License for more details.
    1.16 + * 
    1.17 + * You should have received a copy of the GNU General Public License along
    1.18 + * with this program; if not, write to the Free Software Foundation, Inc.,
    1.19 + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
    1.20 + */
    1.21 +
    1.22 +#ifndef FIX_PURPLE_H
    1.23 +#define FIX_PURPLE_H
    1.24 +
    1.25 +struct _PurpleConnection;
    1.26 +
    1.27 +#include <glib.h>
    1.28 +
    1.29 +#if !GLIB_CHECK_VERSION(2,3,1)
    1.30 +
    1.31 +#if GLIB_SIZEOF_LONG == 8
    1.32 +#define G_GSIZE_FORMAT "lu"
    1.33 +#else
    1.34 +#define G_GSIZE_FORMAT "u"
    1.35 +#endif
    1.36 +
    1.37 +#endif /* !GLIB_CHECK_VERSION(2,3,1) */
    1.38 +
    1.39 +void purple_buddy_set_displayname (struct _PurpleConnection *gc, const gchar *who, const gchar *value);
    1.40 +void purple_buddy_set_nickname (struct _PurpleConnection *gc, const gchar *who, const gchar *value);
    1.41 +
    1.42 +#endif /* FIX_PURPLE_H */