22#ifndef LIBDPKG_DB_FSYS_H
23#define LIBDPKG_DB_FSYS_H
91#define LISTFILE "list"
92#define HASHFILE "md5sums"
void write_filelist_except(struct pkginfo *pkg, struct pkgbin *pkgbin, struct fsys_namenode_list *list, enum fsys_namenode_flags mask)
Definition db-fsys-files.c:313
void ensure_statoverrides(enum statdb_parse_flags flags)
Definition db-fsys-override.c:109
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.
Definition db-fsys-files.c:118
void note_must_reread_files_inpackage(struct pkginfo *pkg)
Definition db-fsys-files.c:60
statdb_parse_flags
Definition db-fsys.h:81
@ STATDB_PARSE_NORMAL
Definition db-fsys.h:82
@ STATDB_PARSE_LAX
Definition db-fsys.h:83
void ensure_allinstfiles_available(void)
Definition db-fsys-files.c:263
void ensure_diversions(void)
Definition db-fsys-divert.c:44
void ensure_allinstfiles_available_quiet(void)
Definition db-fsys-files.c:303
void write_filehash_except(struct pkginfo *pkg, struct pkgbin *pkgbin, struct fsys_namenode_list *list, enum fsys_namenode_flags mask)
Definition db-fsys-digest.c:46
dpkg_db_error
Definition db-fsys.h:57
@ DPKG_DB_NONE
No database file found.
Definition db-fsys.h:61
@ DPKG_DB_SAME
The database is already loaded and has not changed.
Definition db-fsys.h:63
@ DPKG_DB_LOAD
The database is new or has changed, should be loaded.
Definition db-fsys.h:59
uid_t statdb_parse_uid(const char *str)
Definition db-fsys-override.c:44
enum dpkg_db_error dpkg_db_reopen(struct dpkg_db *db)
Definition db-fsys-load.c:37
gid_t statdb_parse_gid(const char *str)
Definition db-fsys-override.c:70
mode_t statdb_parse_mode(const char *str)
Definition db-fsys-override.c:96
void parse_filehash(struct pkginfo *pkg, struct pkgbin *pkgbin)
Definition db-fsys-digest.c:134
enum DPKG_ATTR_ENUM_FLAGS fsys_namenode_flags
Definition fsys.h:65
#define DPKG_BEGIN_DECLS
Definition macros.h:164
#define DPKG_END_DECLS
Definition macros.h:165
char * pathname
Definition db-fsys.h:71
struct stat st
Definition db-fsys.h:73
FILE * file
Definition db-fsys.h:72
const char * name
Name of the database.
Definition db-fsys.h:68
Node describing a binary package file.
Definition dpkg-db.h:116
Node describing an architecture package instance.
Definition dpkg-db.h:206