Mercurial > pidgin
comparison libpurple/util.c @ 32218:904686722499
* purple_util_fetch_url_request_len() renamed to purple_util_fetch_url_request().
* purple_util_fetch_url_len() renamed to purple_util_fetch_url().
author | andrew.victor@mxit.com |
---|---|
date | Sat, 24 Sep 2011 22:09:40 +0000 |
parents | 4d5e1dc93265 |
children | 4c64383f05cc |
comparison
equal
deleted
inserted
replaced
32217:348a933fed78 | 32218:904686722499 |
---|---|
4165 (gfud->website.address ? gfud->website.address : ""), | 4165 (gfud->website.address ? gfud->website.address : ""), |
4166 purple_ssl_strerror(error)); | 4166 purple_ssl_strerror(error)); |
4167 } | 4167 } |
4168 | 4168 |
4169 PurpleUtilFetchUrlData * | 4169 PurpleUtilFetchUrlData * |
4170 purple_util_fetch_url_request(const char *url, gboolean full, | 4170 purple_util_fetch_url_request(PurpleAccount *account, |
4171 const char *user_agent, gboolean http11, | |
4172 const char *request, gboolean include_headers, | |
4173 PurpleUtilFetchUrlCallback callback, void *user_data) | |
4174 { | |
4175 return purple_util_fetch_url_request_len(NULL, url, full, | |
4176 user_agent, http11, | |
4177 request, include_headers, -1, | |
4178 callback, user_data); | |
4179 } | |
4180 | |
4181 PurpleUtilFetchUrlData * | |
4182 purple_util_fetch_url_request_len(PurpleAccount *account, | |
4183 const char *url, gboolean full, const char *user_agent, gboolean http11, | 4171 const char *url, gboolean full, const char *user_agent, gboolean http11, |
4184 const char *request, gboolean include_headers, gssize max_len, | 4172 const char *request, gboolean include_headers, gssize max_len, |
4185 PurpleUtilFetchUrlCallback callback, void *user_data) | 4173 PurpleUtilFetchUrlCallback callback, void *user_data) |
4186 { | 4174 { |
4187 PurpleUtilFetchUrlData *gfud; | 4175 PurpleUtilFetchUrlData *gfud; |