aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJason Woodward2005-12-09 17:50:51 +0000
committerJason Woodward2005-12-09 17:50:51 +0000
commit5855c3e800ff58afda1ee970c71b58df8d0f0f40 (patch)
tree75c7963b9fabfc6f31d9c29007f8ad36f300caa4 /doc
parent3cd8bb16f777568d62cb4facc652ac97034fb940 (diff)
downloadslapt-get-5855c3e800ff58afda1ee970c71b58df8d0f0f40.tar.gz
removed slapt_download_data (made private) and added slapt_clean_description
Diffstat (limited to 'doc')
-rw-r--r--doc/libslapt.39
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/libslapt.3 b/doc/libslapt.3
index ad039e8..b4a27a2 100644
--- a/doc/libslapt.3
+++ b/doc/libslapt.3
@@ -292,6 +292,13 @@ The \fIworking_dir\fP, defined within the \fIslapt_rc_config\fP object, caches t
.B " struct slapt_pkg_list *avail_pkgs);"
.fi
.sp
+.TP
+The following use used to clean the package name from the package description. This modifies the string in place. It is best to copy the \fIpkg->description\fP to a new string prior to calling \fIslapt_clean_description\fP().
+.sp
+.nf
+.B void slapt_clean_description (char *description, const char *name);
+.fi
+.sp
.IP \fBDOWNLOADING\fP
.TP
Downloading packages and the package data from various sources is handled with the following functions.
@@ -302,8 +309,6 @@ Downloading packages and the package data from various sources is handled with t
.B " slapt_pkg_info_t *pkg);"
.B "int slapt_verify_downloaded_pkg(const slapt_rc_config *global_config,"
.B " slapt_pkg_info_t *pkg);"
-.B "int slapt_download_data(FILE *fh,const char *url,size_t bytes,"
-.B " const slapt_rc_config *global_config);"
.sp
.B "int slapt_get_mirror_data_from_source(FILE *fh,"
.B " const slapt_rc_config *global_config,"