dpkg 1.21.11
|
#include <config.h>
#include <compat.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <string.h>
#include <pwd.h>
#include <grp.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
#include <dpkg/i18n.h>
#include <dpkg/dpkg.h>
#include <dpkg/dpkg-db.h>
#include <dpkg/path.h>
#include <dpkg/dir.h>
#include <dpkg/fdio.h>
#include <dpkg/pkg-array.h>
#include <dpkg/pkg-files.h>
#include <dpkg/progress.h>
#include <dpkg/db-ctrl.h>
#include <dpkg/db-fsys.h>
Enumerations | |
enum | pkg_filesdb_load_status { PKG_FILESDB_LOAD_NONE = 0 , PKG_FILESDB_LOAD_INPROGRESS = 1 , PKG_FILESDB_LOAD_DONE = 2 } |
Functions | |
void | note_must_reread_files_inpackage (struct pkginfo *pkg) |
void | ensure_packagefiles_available (struct pkginfo *pkg) |
Load the list of files in this package into memory, or update the list if it is there but stale. More... | |
void | ensure_allinstfiles_available (void) |
void | ensure_allinstfiles_available_quiet (void) |
void | write_filelist_except (struct pkginfo *pkg, struct pkgbin *pkgbin, struct fsys_namenode_list *list, enum fsys_namenode_flags mask) |
void ensure_allinstfiles_available | ( | void | ) |
void ensure_allinstfiles_available_quiet | ( | void | ) |
void ensure_packagefiles_available | ( | struct pkginfo * | pkg | ) |
Load the list of files in this package into memory, or update the list if it is there but stale.
void note_must_reread_files_inpackage | ( | struct pkginfo * | pkg | ) |
void write_filelist_except | ( | struct pkginfo * | pkg, |
struct pkgbin * | pkgbin, | ||
struct fsys_namenode_list * | list, | ||
enum fsys_namenode_flags | mask | ||
) |
References atomic_file_close(), atomic_file_commit(), atomic_file_free(), atomic_file_new(), atomic_file_open(), atomic_file_sync(), dir_sync_path(), fsys_namenode::flags, LISTFILE, fsys_namenode::name, fsys_namenode_list::namenode, fsys_namenode_list::next, note_must_reread_files_inpackage(), pkg_infodb_get_dir(), and pkg_infodb_get_file().