summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Ruprecht <cmaiku@gmail.com>2018-12-14 22:49:03 -0600
committerMike Ruprecht <cmaiku@gmail.com>2018-12-14 22:49:03 -0600
commit944b3baffc5a6857c8645a537f08d86fd625dfd2 (patch)
tree7a0032a2b17535b6799c7b6ec13c1a4cc4ccbb80
parent4dd55226cf4a38c54c1e7a18d49a736ad00ac2e8 (diff)
downloadpidgin-944b3baffc5a6857c8645a537f08d86fd625dfd2.tar.gz
libpurple: Add missing docs for a few HTTP functions and (skip) them
This patch adds some missing documentation for the connection set functions in the HTTP API and adds (skip) GObject introspection annotations to them. The rest of the API has already had these annotations added. Doing so fixes some GObject introspection warnings.
-rw-r--r--libpurple/http.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/libpurple/http.h b/libpurple/http.h
index 6da667b92e..d239fe836d 100644
--- a/libpurple/http.h
+++ b/libpurple/http.h
@@ -834,12 +834,32 @@ purple_http_keepalive_pool_get_limit_per_host(PurpleHttpKeepalivePool *pool);
/* HTTP connection set API */
/**************************************************************************/
+/**
+ * purple_http_connection_set_new: (skip)
+ *
+ * Creates a new connection set.
+ *
+ * Returns: A new connection set.
+ */
PurpleHttpConnectionSet *
purple_http_connection_set_new(void);
+/**
+ * purple_http_connection_set_destroy: (skip)
+ * @set: The connection set to be destroyed
+ *
+ * Destroys connection set @set.
+ */
void
purple_http_connection_set_destroy(PurpleHttpConnectionSet *set);
+/**
+ * purple_http_connection_set_add: (skip)
+ * @set: The connection set to add to
+ * @http_conn: The connection to add
+ *
+ * Adds @http_conn to @set.
+ */
void
purple_http_connection_set_add(PurpleHttpConnectionSet *set,
PurpleHttpConnection *http_conn);