--- a/disco.h Wed Jan 20 21:43:22 2010 +0200
+++ b/disco.h Sun Jan 31 20:44:05 2010 +0200
@@ -41,8 +41,9 @@
typedef void (*disco_info_handler_t) (GSList *identities, GSList *features, gpointer userdata);
typedef void (*disco_items_handler_t) (GSList *items, gpointer userdata);
-void disco_info_request (const gchar *jid, const gchar *node, disco_info_handler_t handler, gpointer userdata, GDestroyNotify notify);
-void disco_items_request (const gchar *jid, const gchar *node, disco_items_handler_t handler, gpointer userdata, GDestroyNotify notify);
+gpointer disco_info_request (const gchar *jid, const gchar *node, disco_info_handler_t handler, gpointer userdata, GDestroyNotify notify);
+gpointer disco_items_request (const gchar *jid, const gchar *node, disco_items_handler_t handler, gpointer userdata, GDestroyNotify notify);
+void disco_cancel_request (gpointer id);
#endif