aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJason Woodward2010-09-12 12:36:30 -0400
committerJason Woodward2010-09-12 12:36:30 -0400
commit648c92de40483300a32529e73a68b15c85b44602 (patch)
tree3bb0ffeee0bdee29c35e300ea2925cdf37e0530c /doc
parent0b20bed58c5fd30f0791e1c2462a34ed1083c452 (diff)
downloadslapt-get-648c92de40483300a32529e73a68b15c85b44602.tar.gz
updated documentation for new public slapt_download_data
Diffstat (limited to 'doc')
-rw-r--r--doc/libslapt.32
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/libslapt.3 b/doc/libslapt.3
index 1e85485..1b12cf3 100644
--- a/doc/libslapt.3
+++ b/doc/libslapt.3
@@ -366,6 +366,8 @@ The \fIslapt_clean_description\fP() function is used to clean the package name f
Downloading packages and the package data from various sources is handled with the following functions. Functions with integer return types return non-zero on error. \fIslapt_update_pkg_cache\fP() and \fIslapt_get_available_pkgs\fP() assume to be chdir'd to the working directory.
.sp
.nf
+.B "int slapt_download_data(FILE *fh, const char *url, size_t bytes, long *filetime,"
+.B " const slapt_rc_config *global_config);"
.B "int slapt_update_pkg_cache(const slapt_rc_config *global_config);"
.B "const char *slapt_download_pkg(const slapt_rc_config *global_config,"
.B " slapt_pkg_info_t *pkg);"