/cpw/tomkiewicz/http: 39934ddba843: Put some TODOs
Tomasz Wasilczyk
tomkiewicz at cpw.pidgin.im
Tue Oct 16 16:37:25 EDT 2012
Changeset: 39934ddba843f49e97682be2f5ccbeb5caca461d
Author: Tomasz Wasilczyk <tomkiewicz at cpw.pidgin.im>
Date: 2012-10-16 22:37 +0200
Branch: default
URL: http://hg.pidgin.im/cpw/tomkiewicz/http/rev/39934ddba843
Description:
Put some TODOs
diffstat:
libpurple/http.h | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diffs (65 lines):
diff --git a/libpurple/http.h b/libpurple/http.h
--- a/libpurple/http.h
+++ b/libpurple/http.h
@@ -157,9 +157,11 @@ void purple_http_conn_cancel_all(PurpleC
*/
gboolean purple_http_conn_is_running(PurpleHttpConnection *http_conn);
+//TODO
PurpleHttpRequest * purple_http_conn_get_request(
PurpleHttpConnection *http_conn);
+//TODO
PurpleConnection * purple_http_conn_get_purple_connection(
PurpleHttpConnection *http_conn);
@@ -219,8 +221,10 @@ void purple_http_request_ref(PurpleHttpR
*/
PurpleHttpRequest * purple_http_request_unref(PurpleHttpRequest *request);
+//TODO
void purple_http_request_set_url(PurpleHttpRequest *request, const gchar *url); // +get
+//TODO
void purple_http_request_set_method(PurpleHttpRequest *request,
const gchar *method); // +get
@@ -242,6 +246,7 @@ void purple_http_request_set_contents(Pu
* @param reader The reader callback.
* @param user_data The user data to pass to the callback function.
*/
+//TODO
void purple_http_request_set_contents_reader(PurpleHttpRequest *request,
PurpleHttpContentReader reader, gpointer user_data);
@@ -252,6 +257,7 @@ void purple_http_request_set_contents_re
* @param reader The writer callback.
* @param user_data The user data to pass to the callback function.
*/
+//TODO
void purple_http_request_set_response_writer(PurpleHttpRequest *request,
PurpleHttpContentWriter writer, gpointer user_data);
@@ -275,6 +281,7 @@ int purple_http_request_get_max_redirect
/**
* NULL for disabling cookie support
*/
+//TODO
void purple_http_request_set_cookie_jar(PurpleHttpRequest *request,
PurpleHTTPCookieJar *cookie_jar); // +get
@@ -384,11 +391,14 @@ gsize purple_http_response_get_data_len(
*/
const gchar * purple_http_response_get_data(PurpleHttpResponse *response);
+//TODO
const GList * purple_http_response_get_all_headers(PurpleHttpResponse *response);
+//TODO
const GList * purple_http_response_get_headers_by_name(
PurpleHttpResponse *response, const gchar *name);
+//TODO
const gchar * purple_http_response_get_header(PurpleHttpResponse *response,
const gchar *name);
More information about the Commits
mailing list