diff options
Diffstat (limited to 'libavformat/http.h')
-rw-r--r-- | libavformat/http.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libavformat/http.h b/libavformat/http.h index 7d02713e31..662bd2cab6 100644 --- a/libavformat/http.h +++ b/libavformat/http.h @@ -38,6 +38,15 @@ void ff_http_init_auth_state(URLContext *dest, const URLContext *src); /** + * Get the HTTP shutdown response status, be used after http_shutdown. + * + * @param h pointer to the resource + * @return a negative value if an error condition occurred, 0 + * otherwise + */ +int ff_http_get_shutdown_status(URLContext *h); + +/** * Send a new HTTP request, reusing the old connection. * * @param h pointer to the resource |