dpkg 1.22.7-3-g89f48
Loading...
Searching...
No Matches
Functions
unpack.c File Reference

(1a7b7d52e)

#include <config.h>
#include <compat.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <errno.h>
#include <string.h>
#include <time.h>
#include <utime.h>
#include <fcntl.h>
#include <dirent.h>
#include <unistd.h>
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#include <dpkg/i18n.h>
#include <dpkg/c-ctype.h>
#include <dpkg/dpkg.h>
#include <dpkg/dpkg-db.h>
#include <dpkg/pkg.h>
#include <dpkg/pkg-queue.h>
#include <dpkg/path.h>
#include <dpkg/command.h>
#include <dpkg/buffer.h>
#include <dpkg/subproc.h>
#include <dpkg/dir.h>
#include <dpkg/tarfn.h>
#include <dpkg/options.h>
#include <dpkg/db-ctrl.h>
#include <dpkg/db-fsys.h>
#include <dpkg/triglib.h>
#include "file-match.h"
#include "main.h"
#include "archives.h"
Include dependency graph for unpack.c:

Functions

void enqueue_conflictor (struct pkginfo *pkg)
 
void process_archive (const char *filename)
 

Function Documentation

◆ enqueue_conflictor()

void enqueue_conflictor ( struct pkginfo pkg)

References pkg_queue_push().

Referenced by check_conflict().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ process_archive()

void process_archive ( const char *  filename)

References _, act_avail, act_install, pkgbin::arch, pkginfo::arch_next, pkginfo::archives, cmdinfo::arg_int, pkginfo::available, BACKEND, tarcontext::backendpipe, cipaction, cleanup_conflictor_failed, cleanup_pkg_failed, clear_deconfigure_queue(), clear_istobes(), CONFFILESFILE, CONTROLFILE, tar_archive::ctx, cu_cidir(), cu_closepipe(), cu_fileslist(), cu_postrmupgrade(), cu_preinstnew(), cu_preinstupgrade(), cu_preinstverynew(), cu_prerminfavour(), cu_prermupgrade(), dbg_general, debug(), dir_sync_contents(), DPKG_ARCH_ALL, DPKG_ARCH_FOREIGN, dpkg_arch_get(), DPKG_ARCH_NATIVE, DPKG_ERROR_OBJECT, dpkg_error_print(), dpkg_version_compare(), ehflag_bombout, ehflag_normaltidy, enqueue_deconfigure(), enqueue_package_mark_seen(), ensure_allinstfiles_available(), tar_archive::err, f_noact, f_nodebsig, fd_skip, FORCE_ARCHITECTURE, FORCE_BAD_VERSION, forcibleerr(), fsys_hash_init(), fsys_namenode_queue::head, pkg_queue::head, in_force(), pkginfo::installed, internerr, log_action(), m_dup2(), m_pipe(), maintscript_fallback(), maintscript_installed(), maintscript_new(), archivedetails::md5sum, modstatdb_note(), archivedetails::msdosname, pkgbin::multiarch, dpkg_arch::name, archivedetails::name, tarcontext::newfiles_queue, archivedetails::next, pkg_list::next, nfmalloc(), ohshit(), ohshite(), tar_archive::ops, parsedb(), parsedbflags, pdb_ignore_archives, pdb_lax_version_parser, pdb_parse_available, pdb_parse_binary, pkgset::pkg, pkg_list::pkg, tarcontext::pkg, pkg_blank(), pkg_conffiles_mark_old(), PKG_EFLAG_REINSTREQ, pkg_infodb_get_file(), pkg_name(), pkg_queue_is_empty(), pkg_queue_pop(), pkg_reset_eflags(), pkg_set_eflags(), pkg_set_status(), pkg_set_want(), PKG_STAT_CONFIGFILES, PKG_STAT_HALFCONFIGURED, PKG_STAT_HALFINSTALLED, PKG_STAT_INSTALLED, PKG_STAT_NOTINSTALLED, PKG_STAT_TRIGGERSAWAITED, PKG_STAT_TRIGGERSPENDING, PKG_STAT_UNPACKED, pkg_status_name(), PKG_WANT_INSTALL, PKG_WANT_UNKNOWN, pkgbin_name(), tarcontext::pkgset_getting_in_sync, pnaw_always, pnaw_nonambig, pop_cleanup(), POSTRMFILE, PREINSTFILE, PRERMFILE, push_checkpoint(), push_cleanup(), tar_operations::read, removal_bulk(), pkginfo::set, archivedetails::size, pkginfo::status, statusstrings, dpkg_error::str, subproc_fork(), SUBPROC_NOPIPE, subproc_reap(), fsys_namenode_queue::tail, tar_deferred_extract(), tar_extractor(), tarfileread(), tarobject(), trig_activate_packageprocessing(), trig_cicb_interest_add(), trig_cicb_interest_delete(), trig_cicb_statuschange_activate(), trig_file_interests_ensure(), trig_file_interests_save(), trig_parse_ci(), TRIGGERSCIFILE, dpkg_arch::type, dpkg_error::type, vdew_nonambig, pkgbin::version, versiondescribe(), wanttoinstall(), write_filehash_except(), and write_filelist_except().

Referenced by archivefiles().

Here is the call graph for this function:
Here is the caller graph for this function: