diff options
| author | 0x221E <0x221E@0xinfinity.dev> | 2026-05-13 16:50:15 +0200 |
|---|---|---|
| committer | 0x221E <0x221E@0xinfinity.dev> | 2026-05-13 16:52:52 +0200 |
| commit | a532b3eb7e8610fb51cc703c9634532704e9b381 (patch) | |
| tree | 7ad12176952943f39dfb3e2d38a6243e2f3ea807 /include/net.h | |
| parent | 922d616c65573bdbbb52f1e2fa663d283d0fbd35 (diff) | |
| download | pkgman-dev.tar.gz | |
Added option to change mirror, tmp, staging directoryfrom the user
interface of the pkgman library. Added TRY and TRY_IFNOT macros for
better code readability.
Diffstat (limited to 'include/net.h')
| -rw-r--r-- | include/net.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net.h b/include/net.h index b2b415f..7cf6b5e 100644 --- a/include/net.h +++ b/include/net.h @@ -22,5 +22,6 @@ int net_init(); void net_shutdown(); int net_send_request(char *url, int write_opts, void *userdata); +int net_download(const char *url, const char *dst); #endif |
