view plugins/perl/common/module.h @ 8190:0a0501566843

[gaim-migrate @ 8911] Daniel Atallah noticed a problem with my changes to the disconnect account dialog and submitted a patch. I did this instead because I think it's cleaner, but it might be an iota or three slower. But really, if you think about it, what's just one little iota when you sleep for BILLIONS of iotas a DAY? committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 31 Jan 2004 02:02:46 +0000
parents bf630f7dfdcd
children 134d0001983d
line wrap: on
line source

typedef struct group *Gaim__Group;

#define group perl_group

#include <glib.h>
#ifdef _WIN32
#undef pipe
#endif
#include <EXTERN.h>
#include <perl.h>
#include <XSUB.h>

#undef group

#include "../perl-common.h"

#include "account.h"
#include "connection.h"
#include "conversation.h"
#include "debug.h"
#include "server.h"

typedef GaimAccount *     Gaim__Account;
typedef GaimBuddy *       Gaim__BuddyList__Buddy;
typedef GaimChat *   Gaim__BuddyList__Chat;
typedef GaimGroup *       Gaim__BuddyList__Group;
typedef GaimContact *     Gaim__BuddyList__Contact;
typedef GaimConnection *  Gaim__Connection;
typedef GaimConversation *Gaim__Conversation;
typedef GaimConvChat *        Gaim__Conversation__Chat;
typedef GaimConvIm *          Gaim__Conversation__IM;
typedef GaimConvWindow *      Gaim__ConvWindow;
typedef GaimPlugin *      Gaim__Plugin;

typedef GaimDebugLevel Gaim__DebugLevel;