aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Woodward2010-09-12 12:36:30 -0400
committerJason Woodward2010-09-12 12:36:30 -0400
commit648c92de40483300a32529e73a68b15c85b44602 (patch)
tree3bb0ffeee0bdee29c35e300ea2925cdf37e0530c /src
parent0b20bed58c5fd30f0791e1c2462a34ed1083c452 (diff)
downloadslapt-get-648c92de40483300a32529e73a68b15c85b44602.tar.gz
updated documentation for new public slapt_download_data
Diffstat (limited to 'src')
-rw-r--r--src/curl.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/curl.h b/src/curl.h
index b6643cc..f4f8300 100644
--- a/src/curl.h
+++ b/src/curl.h
@@ -1,9 +1,10 @@
/*
- download data to file
+ download data to file, resuming from bytes and preserving filetime.
returns curl code
*/
-int slapt_download_data(FILE *, const char *, size_t, long *, const slapt_rc_config *);
+int slapt_download_data(FILE *fh, const char *url, size_t bytes, long *filetime,
+ const slapt_rc_config *global_config);
/*
retrieves the head data for the url, returns (char *) or NULL on error