libpurple/http.h

branch
facebook
changeset 37366
1cbcea2165c1
parent 37131
fe9ff76f1c6c
child 37433
50bb40c42245
--- a/libpurple/http.h	Thu Aug 20 15:49:25 2015 -0400
+++ b/libpurple/http.h	Thu Aug 20 16:19:06 2015 -0400
@@ -222,6 +222,16 @@
 void purple_http_conn_cancel_all(PurpleConnection *gc);
 
 /**
+ * purple_http_conn_is_cancelling:
+ * @http_conn: The HTTP connection (may be invalid pointer).
+ *
+ * Checks, if provided HTTP request is cancelling.
+ *
+ * Returns:          TRUE, if provided connection is currently cancelling.
+ */
+gboolean purple_http_conn_is_cancelling(PurpleHttpConnection *http_conn);
+
+/**
  * purple_http_conn_is_running:
  * @http_conn: The HTTP connection (may be invalid pointer).
  *

mercurial