diff options
author | Kamil Dudka <kdudka@redhat.com> | 2012-10-31 10:43:36 +0100 |
---|---|---|
committer | Kamil Dudka <kdudka@redhat.com> | 2012-11-09 10:27:10 +0100 |
commit | cf75a64651e927eb00d6cfe2434d8893985a865f (patch) | |
tree | d6a26ecc69df0e565ff0831178b98816025ae380 /src/tool_metalink.h | |
parent | 0af1a9d270b982fda4bc62d72d9c1063a6d6f875 (diff) | |
download | curl-cf75a64651e927eb00d6cfe2434d8893985a865f.tar.gz |
tool_metalink: introduce metalink_cleanup() in the internal API
... to release resources allocated at global scope
Diffstat (limited to 'src/tool_metalink.h')
-rw-r--r-- | src/tool_metalink.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tool_metalink.h b/src/tool_metalink.h index 49a6e64b7..c35f4a2e6 100644 --- a/src/tool_metalink.h +++ b/src/tool_metalink.h @@ -144,6 +144,11 @@ int metalink_check_hash(struct Configurable *config, metalinkfile *mlfile, const char *filename); +/* + * Release resources allocated at global scope. + */ +void metalink_cleanup(void); + #else /* USE_METALINK */ #define count_next_metalink_resource(x) 0 |