--- a/libpurple/protocols/gg/libgaduw.h Sat Jun 30 13:04:50 2012 +0200 +++ b/libpurple/protocols/gg/libgaduw.h Sat Jun 30 19:56:46 2012 +0200 @@ -4,19 +4,24 @@ #include <internal.h> #include <libgadu.h> -typedef void (*ggp_libgaduw_http_cb)(struct gg_http *h, gboolean success, gpointer user_data); +#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(struct gg_http *h, - ggp_libgaduw_http_cb cb, gpointer user_data); +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);