|
dpkg 1.22.7-3-g89f48
|
#include <config.h>#include <compat.h>#include <sys/stat.h>#include <errno.h>#include <string.h>#include <stdio.h>#include <fcntl.h>#include <unistd.h>#include <dpkg/i18n.h>#include <dpkg/dpkg.h>#include <dpkg/dpkg-db.h>#include <dpkg/debug.h>#include <dpkg/fdio.h>#include <dpkg/dir.h>#include <dpkg/db-ctrl.h>#include <dpkg/db-fsys.h>Functions | |
| void | write_filehash_except (struct pkginfo *pkg, struct pkgbin *pkgbin, struct fsys_namenode_list *list, enum fsys_namenode_flags mask) |
| void | parse_filehash (struct pkginfo *pkg, struct pkgbin *pkgbin) |
References _, varbuf::buf, DPKG_ERROR_INIT, dpkg_error_print(), file_slurp(), HASHFILE, pkg_infodb_get_file(), pkg_name(), pnaw_nonambig, dpkg_error::syserrno, dpkg_error::type, varbuf::used, varbuf_destroy(), and VARBUF_INIT.
| void write_filehash_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(), pkginfo::available, dbg_general, debug(), dir_sync_path(), fsys_namenode::flags, HASHFILE, fsys_namenode::name, fsys_namenode_list::namenode, fsys_namenode::newhash, fsys_namenode_list::next, pkg_infodb_get_dir(), pkg_infodb_get_file(), and pkg_infodb_has_file().
Referenced by process_archive().