dpkg 1.22.7-3-g89f48
|
#include <config.h>
#include <compat.h>
#include <string.h>
#include <stdlib.h>
#include <dpkg/dpkg.h>
#include <dpkg/dpkg-db.h>
#include <dpkg/path.h>
#include "fsys.h"
Data Structures | |
struct | fsys_hash_iter |
Macros | |
#define | BINS 262139 |
Functions | |
void | fsys_hash_init (void) |
void | fsys_hash_reset (void) |
int | fsys_hash_entries (void) |
struct fsys_namenode * | fsys_hash_find_node (const char *name, enum fsys_hash_find_flags flags) |
void | fsys_hash_report (FILE *file) |
struct fsys_hash_iter * | fsys_hash_iter_new (void) |
struct fsys_namenode * | fsys_hash_iter_next (struct fsys_hash_iter *iter) |
void | fsys_hash_iter_free (struct fsys_hash_iter *iter) |
#define BINS 262139 |
int fsys_hash_entries | ( | void | ) |
struct fsys_namenode * fsys_hash_find_node | ( | const char * | name, |
enum fsys_hash_find_flags | flags | ||
) |
References BINS, FHFF_NO_COPY, FHFF_NO_NEW, fsys_namenode::flags, internerr, fsys_namenode::name, fsys_namenode::next, nfmalloc(), path_skip_slash_dotslash(), and str_fnv_hash().
Referenced by ensure_diversions(), ensure_statoverrides(), pkg_conffiles_mark_old(), and tarobject().
void fsys_hash_init | ( | void | ) |
References BINS, fsys_namenode::file_ondisk_id, fsys_namenode::flags, fsys_namenode::newhash, fsys_namenode::next, and fsys_namenode::oldhash.
Referenced by deferred_remove(), and process_archive().
void fsys_hash_iter_free | ( | struct fsys_hash_iter * | iter | ) |
struct fsys_hash_iter * fsys_hash_iter_new | ( | void | ) |
References m_malloc(), fsys_hash_iter::namenode, and fsys_hash_iter::nbinn.
Referenced by ensure_statoverrides().
struct fsys_namenode * fsys_hash_iter_next | ( | struct fsys_hash_iter * | iter | ) |
References BINS, fsys_hash_iter::namenode, fsys_hash_iter::nbinn, and fsys_namenode::next.
Referenced by ensure_statoverrides().
void fsys_hash_report | ( | FILE * | file | ) |
References BINS, m_malloc(), m_output(), and fsys_namenode::next.
void fsys_hash_reset | ( | void | ) |