1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/Frameworks/libpurple.framework/Versions/0.6.2/Headers/gg.h Fri Aug 21 13:25:11 2009 -0700
1.3 @@ -0,0 +1,71 @@
1.4 +/**
1.5 + * @file gg.h
1.6 + *
1.7 + * purple
1.8 + *
1.9 + * Copyright (C) 2005 Bartosz Oler <bartosz@bzimage.us>
1.10 + *
1.11 + * This program is free software; you can redistribute it and/or modify
1.12 + * it under the terms of the GNU General Public License as published by
1.13 + * the Free Software Foundation; either version 2 of the License, or
1.14 + * (at your option) any later version.
1.15 + *
1.16 + * This program is distributed in the hope that it will be useful,
1.17 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1.18 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1.19 + * GNU General Public License for more details.
1.20 + *
1.21 + * You should have received a copy of the GNU General Public License
1.22 + * along with this program; if not, write to the Free Software
1.23 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
1.24 + */
1.25 +
1.26 +
1.27 +#ifndef _PURPLE_GG_H
1.28 +#define _PURPLE_GG_H
1.29 +
1.30 +#include <libgadu.h>
1.31 +#include "internal.h"
1.32 +#include "search.h"
1.33 +#include "connection.h"
1.34 +
1.35 +
1.36 +#define PUBDIR_RESULTS_MAX 20
1.37 +
1.38 +
1.39 +typedef struct
1.40 +{
1.41 + char *name;
1.42 + GList *participants;
1.43 +
1.44 +} GGPChat;
1.45 +
1.46 +typedef void (*GGPTokenCallback)(PurpleConnection *);
1.47 +
1.48 +typedef struct
1.49 +{
1.50 + char *id;
1.51 + char *data;
1.52 + unsigned int size;
1.53 +
1.54 + struct gg_http *req;
1.55 + guint inpa;
1.56 +
1.57 + GGPTokenCallback cb;
1.58 +
1.59 +} GGPToken;
1.60 +
1.61 +typedef struct {
1.62 +
1.63 + struct gg_session *session;
1.64 + GGPToken *token;
1.65 + GList *chats;
1.66 + GGPSearches *searches;
1.67 + int chats_count;
1.68 + GList *pending_richtext_messages;
1.69 + GHashTable *pending_images;
1.70 +} GGPInfo;
1.71 +
1.72 +#endif /* _PURPLE_GG_H */
1.73 +
1.74 +/* vim: set ts=8 sts=0 sw=8 noet: */