aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJason Woodward2009-09-09 21:38:18 -0400
committerJason Woodward2009-09-09 21:38:18 -0400
commit6f64cceaf84cfcad61735fe700fd04b6340aa353 (patch)
treee54c3835937817852d102121aaaaf95aa8cb9ce4 /doc
parentc5f7f251c54f7608e2afb091f333afcde2190a2e (diff)
downloadslapt-get-6f64cceaf84cfcad61735fe700fd04b6340aa353.tar.gz
added slapt_get_pkg_filelist() from Anders F. Bjorklund
Diffstat (limited to 'doc')
-rw-r--r--doc/libslapt.314
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/libslapt.3 b/doc/libslapt.3
index 43e9c2e..3b0d003 100644
--- a/doc/libslapt.3
+++ b/doc/libslapt.3
@@ -336,6 +336,13 @@ The following functions deal with determining package dependencies and conflicts
.fi
.sp
.TP
+\fIslapt_get_pkg_filelist\fP() returns a string representing all of the files installed by the package. This list is read from the package log file.
+.sp
+.nf
+.B "char *slapt_get_pkg_filelist(const slapt_pkg_info_t *pkg);"
+.fi
+.sp
+.TP
\fIslapt_stringify_pkg\fP() returns a string representation of the package.
.sp
.nf
@@ -343,6 +350,13 @@ The following functions deal with determining package dependencies and conflicts
.fi
.sp
.TP
+\fIslapt_gen_package_log_dir_name\fP() returns a string location of the package log directory, accounting for the value of the ROOT environment variable, if set.
+.sp
+.nf
+.B "char *slapt_gen_package_log_dir_name(void);"
+.fi
+.sp
+.TP
The \fIworking_dir\fP, defined within the \fIslapt_rc_config\fP object, caches the downloaded packages. At various times it becomes necessary to purge the package cache. \fIslapt_clean_pkg_dir\fP() unlinks all packages within the specified directory location. \fIslapt_purge_old_cached_pkgs\fP() unlinks only packages that are not present in the current sources and thus are no longer downloadable.
.sp
.nf