libpurple/protocols/gg/libgaduw.h

Tue, 07 Aug 2012 20:23:21 +0200

author
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
date
Tue, 07 Aug 2012 20:23:21 +0200
branch
soc.2012.gg
changeset 33334
734fc6da6179
parent 33309
bc2f2ea7b5ab
child 33348
2394cd23ce8f
permissions
-rw-r--r--

Gadu-Gadu: initial multilogon support

#ifndef _GGP_LIBGADUW_H
#define _GGP_LIBGADUW_H

#include <internal.h>
#include <libgadu.h>

#include "purplew.h"

typedef void (*ggp_libgaduw_http_cb)(struct gg_http *h, gboolean success,
	gboolean cancelled, gpointer user_data);

typedef struct
{
	gpointer user_data;
	ggp_libgaduw_http_cb cb;
	
	gboolean cancelled;
	struct gg_http *h;
	ggp_purplew_request_processing_handle *processing;
	guint inpa;
} ggp_libgaduw_http_req;

ggp_libgaduw_http_req * ggp_libgaduw_http_watch(PurpleConnection *gc,
	struct gg_http *h, ggp_libgaduw_http_cb cb, gpointer user_data,
	gboolean show_processing);
void ggp_libgaduw_http_cancel(ggp_libgaduw_http_req *req);


#endif /* _GGP_LIBGADUW_H */

mercurial