diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-05-06 15:03:21 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-05-06 15:03:21 +0200 |
commit | 3a61c3f4a8820def50e7fbe68e31a07648102eca (patch) | |
tree | c0a27a3c04214e5da17f1bc357892ff8651cd202 /uclient-utils.h | |
parent | 43be3a3e32f9eb32358beaa3934623c664ae7c12 (diff) | |
download | uclient-3a61c3f4a8820def50e7fbe68e31a07648102eca.tar.gz |
add uclient_get_url_filename helper function
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'uclient-utils.h')
-rw-r--r-- | uclient-utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/uclient-utils.h b/uclient-utils.h index 3c52eff..a4f975d 100644 --- a/uclient-utils.h +++ b/uclient-utils.h @@ -44,4 +44,6 @@ int uclient_urldecode(const char *in, char *out, bool decode_plus); void http_digest_calculate_auth_hash(char *dest, const char *user, const char *realm, const char *password); void http_digest_calculate_response(char *dest, const struct http_digest_data *data); +char *uclient_get_url_filename(const char *url, const char *default_name); + #endif |