aboutsummaryrefslogtreecommitdiffstats
path: root/src/downloadpool.h
diff options
context:
space:
mode:
authorLibravatar bigfoot547 <[email protected]>2024-01-04 05:41:51 -0600
committerLibravatar bigfoot547 <[email protected]>2024-01-04 05:41:51 -0600
commit302af9fb398d96387fcb6d29041f5ac9dc7d6f1e (patch)
tree60a08623ed986a10446b81f7915f8b65c8b002fe /src/downloadpool.h
parentrefactor and download asset index (diff)
downloads assets correctly
TODO: pre-1.6 versions don't work yet
Diffstat (limited to 'src/downloadpool.h')
-rw-r--r--src/downloadpool.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/downloadpool.h b/src/downloadpool.h
index 480fc4f..cce9aea 100644
--- a/src/downloadpool.h
+++ b/src/downloadpool.h
@@ -14,6 +14,7 @@ typedef int (l2_dlpool_download_init_proc_t)(CURL * /*easy*/, void * /*user*/);
typedef int (l2_dlpool_one_downloaded_proc_t)(CURL * /*easy*/, CURLcode /*code*/, void * /*user*/);
l2_dlpool_t *l2_dlpool_init(l2_dlpool_download_init_proc_t *init, l2_dlpool_one_downloaded_proc_t *dlproc);
+l2_dlpool_t *l2_dlpool_init2(l2_dlpool_download_init_proc_t *init, l2_dlpool_one_downloaded_proc_t *dlproc, size_t handles);
/* returns >0 for a successful addition, 0 for aborted (init proc returned <0), <0 for error */
int l2_dlpool_add(l2_dlpool_t *pool, void *user);