diff options
author | Mole Shang <[email protected]> | 2023-08-08 23:13:28 +0800 |
---|---|---|
committer | Mole Shang <[email protected]> | 2023-08-08 23:13:28 +0800 |
commit | 66e17a6855dfa723b017ccd3685950c2de51f5da (patch) | |
tree | 32b8f44a134b61f2d906710a83ac1a87ff922b06 /src/process_url.h | |
parent | cee1e6cc9bfb25b6630719045e15fbf0a3044069 (diff) | |
download | hinata-66e17a6855dfa723b017ccd3685950c2de51f5da.tar.gz hinata-66e17a6855dfa723b017ccd3685950c2de51f5da.tar.bz2 hinata-66e17a6855dfa723b017ccd3685950c2de51f5da.zip |
process_url: expose get_info with a new param `p_content_type`
Diffstat (limited to 'src/process_url.h')
-rw-r--r-- | src/process_url.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/process_url.h b/src/process_url.h index 3edfdd9..760ee49 100644 --- a/src/process_url.h +++ b/src/process_url.h @@ -60,6 +60,8 @@ void poll_status(status_t *); int get(const char *, char **); +bool get_info(const char *URL, long *psize, char **p_content_type); + void add_url(const char *, const char *, const char *, const char *, callback_t, callback_struct_t *); |