diff options
author | Mole Shang <[email protected]> | 2023-08-09 17:29:15 +0800 |
---|---|---|
committer | Mole Shang <[email protected]> | 2023-08-09 17:30:30 +0800 |
commit | c636d2e78e464246b3dd7bc8ce0b8e5d8a5bf7a6 (patch) | |
tree | 3ca0539da181565257d41259cc8e539c469fe847 /src/process_url.h | |
parent | c952d1663bf8d7e54926faab23ed2291c68b73f2 (diff) | |
download | hinata-c636d2e78e464246b3dd7bc8ce0b8e5d8a5bf7a6.tar.gz hinata-c636d2e78e464246b3dd7bc8ce0b8e5d8a5bf7a6.tar.bz2 hinata-c636d2e78e464246b3dd7bc8ce0b8e5d8a5bf7a6.zip |
process_url: set referer in the separate function
Diffstat (limited to 'src/process_url.h')
-rw-r--r-- | src/process_url.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/process_url.h b/src/process_url.h index 00f7a74..005cfcf 100644 --- a/src/process_url.h +++ b/src/process_url.h @@ -64,9 +64,10 @@ void set_referer(char *referer); int get(const char *, char **); -bool get_info(const char *URL, long *psize, char **p_content_type, char **p_cookie); +bool get_info(const char *URL, long *psize, char **p_content_type, + char **p_cookie); -void add_url(const char *, const char *, const char *, const char *, callback_t, +void add_url(const char *, const char *, const char *, callback_t, callback_struct_t *); #endif |