summaryrefslogtreecommitdiff
path: root/libavformat/http.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-05-30 01:39:24 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-05-30 01:40:54 +0200
commitb0387edd5e766b1032f946d6cdb35b765bb45435 (patch)
treedd3ca8577a8d3b05efee8b1214a80f845ddeb47f /libavformat/http.h
parent8619362ff1de6605ffe6da8a42bdfe4fb7be75c1 (diff)
parentf919cc7df6ab844bc12f89fe7bef4fb915a47725 (diff)
Merge commit 'f919cc7df6ab844bc12f89fe7bef4fb915a47725'
* commit 'f919cc7df6ab844bc12f89fe7bef4fb915a47725': fate: fix acodec/vsynth tests for make 3.81 pcm_mpeg: fix number of consumed bytes to include the header. avfilter: include required header file avfilter.h in video.h x86: Avoid movs on BUTTERFLYPS when in AVX mode x86: use new schema for ASM macros fate: convert codec-regression.sh to makefile rules fate: allow tests to specify unit size for psnr comparison fate: teach videogen/rotozoom to output a single raw video stream http: Add support for reusing the http socket for subsequent requests http: Add support for using persistent connections Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/http.h')
-rw-r--r--libavformat/http.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libavformat/http.h b/libavformat/http.h
index 342434d202..aaedbd6835 100644
--- a/libavformat/http.h
+++ b/libavformat/http.h
@@ -35,4 +35,14 @@
*/
void ff_http_init_auth_state(URLContext *dest, const URLContext *src);
+/**
+ * Send a new HTTP request, reusing the old connection.
+ *
+ * @param h pointer to the ressource
+ * @param uri uri used to perform the request
+ * @return a negative value if an error condition occured, 0
+ * otherwise
+ */
+int ff_http_do_new_request(URLContext *h, const char *uri);
+
#endif /* AVFORMAT_HTTP_H */