dpkg 1.22.7-3-g89f48
|
Data Structures | |
struct | atomic_file |
Functions | |
struct atomic_file * | atomic_file_new (const char *filename, enum atomic_file_flags flags) |
void | atomic_file_open (struct atomic_file *file) |
void | atomic_file_sync (struct atomic_file *file) |
void | atomic_file_close (struct atomic_file *file) |
void | atomic_file_commit (struct atomic_file *file) |
void | atomic_file_remove (struct atomic_file *file) |
void | atomic_file_free (struct atomic_file *file) |
Variables | |
enum DPKG_ATTR_ENUM_FLAGS | atomic_file_flags |
void atomic_file_close | ( | struct atomic_file * | file | ) |
References _, ehflag_normaltidy, ohshite(), and pop_cleanup().
Referenced by dpkg_arch_save_list(), write_filehash_except(), write_filelist_except(), and writedb().
void atomic_file_commit | ( | struct atomic_file * | file | ) |
References _, ATOMIC_FILE_BACKUP, file::name, and ohshite().
Referenced by dpkg_arch_save_list(), write_filehash_except(), write_filelist_except(), and writedb().
void atomic_file_free | ( | struct atomic_file * | file | ) |
References file::name.
Referenced by dpkg_arch_save_list(), write_filehash_except(), write_filelist_except(), and writedb().
struct atomic_file * atomic_file_new | ( | const char * | filename, |
enum atomic_file_flags | flags | ||
) |
References ATOMIC_FILE_NEW_EXT, atomic_file::flags, m_malloc(), m_strdup(), file::name, and str_fmt().
Referenced by dpkg_arch_save_list(), write_filehash_except(), write_filelist_except(), and writedb().
void atomic_file_open | ( | struct atomic_file * | file | ) |
References _, ATOMIC_FILE_MKPATH, cu_closestream(), dir_make_path_parent(), ehflag_normaltidy, file::name, ohshite(), and push_cleanup().
Referenced by dpkg_arch_save_list(), write_filehash_except(), write_filelist_except(), and writedb().
void atomic_file_remove | ( | struct atomic_file * | file | ) |
void atomic_file_sync | ( | struct atomic_file * | file | ) |
Referenced by dpkg_arch_save_list(), write_filehash_except(), write_filelist_except(), and writedb().
enum DPKG_ATTR_ENUM_FLAGS atomic_file_flags |
Referenced by writedb().