diff options
author | Anton Khirnov <anton@khirnov.net> | 2020-01-10 12:18:29 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-05-22 15:27:55 +0200 |
commit | 9d4c018497c7fb989dc68baeaf53a04aa1d7bd01 (patch) | |
tree | 0607ddfda0fc315e53753781f19066d209dd3096 /libavformat/url.h | |
parent | f27e3ccf06ee19935d160164ca4a02f28cfc2a27 (diff) |
avio: do not export avpriv_io_{move,delete}
They are private and not used by anything outside of lavf. There is no
reason for them to be exported.
Diffstat (limited to 'libavformat/url.h')
-rw-r--r-- | libavformat/url.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/libavformat/url.h b/libavformat/url.h index 40e6c1d17c..a129150d76 100644 --- a/libavformat/url.h +++ b/libavformat/url.h @@ -388,4 +388,23 @@ typedef struct URLComponents { */ int ff_url_decompose(URLComponents *uc, const char *url, const char *end); +/** + * Move or rename a resource. + * + * @note url_src and url_dst should share the same protocol and authority. + * + * @param url_src url to resource to be moved + * @param url_dst new url to resource if the operation succeeded + * @return >=0 on success or negative on error. + */ +int ffurl_move(const char *url_src, const char *url_dst); + +/** + * Delete a resource. + * + * @param url resource to be deleted. + * @return >=0 on success or negative on error. + */ +int ffurl_delete(const char *url); + #endif /* AVFORMAT_URL_H */ |