dpkg 1.21.11
Functions
extract.c File Reference

(cad30c7db)

#include <config.h>
#include <compat.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <errno.h>
#include <limits.h>
#include <string.h>
#include <dirent.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#include <dpkg/i18n.h>
#include <dpkg/dpkg.h>
#include <dpkg/fdio.h>
#include <dpkg/buffer.h>
#include <dpkg/subproc.h>
#include <dpkg/command.h>
#include <dpkg/compress.h>
#include <dpkg/ar.h>
#include <dpkg/deb-version.h>
#include <dpkg/options.h>
#include "dpkg-deb.h"
Include dependency graph for extract.c:

Functions

void extracthalf (const char *debar, const char *dir, enum dpkg_tar_options taroption, int admininfo)
 
int do_ctrltarfile (const char *const *argv)
 
int do_fsystarfile (const char *const *argv)
 
int do_control (const char *const *argv)
 
int do_extract (const char *const *argv)
 
int do_vextract (const char *const *argv)
 
int do_raw_extract (const char *const *argv)
 

Function Documentation

◆ do_control()

int do_control ( const char *const *  argv)

References _, command::argv, badusage(), cipaction, DPKG_TAR_EXTRACT, EXTRACTCONTROLDIR, extracthalf(), and cmdinfo::olong.

Here is the call graph for this function:

◆ do_ctrltarfile()

int do_ctrltarfile ( const char *const *  argv)

References _, command::argv, badusage(), cipaction, DPKG_TAR_PASSTHROUGH, extracthalf(), and cmdinfo::olong.

Here is the call graph for this function:

◆ do_extract()

int do_extract ( const char *const *  argv)

References _, command::argv, badusage(), cipaction, DPKG_TAR_EXTRACT, DPKG_TAR_LIST, DPKG_TAR_PERMS, extracthalf(), cmdinfo::olong, and opt_verbose.

Referenced by do_vextract().

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

◆ do_fsystarfile()

int do_fsystarfile ( const char *const *  argv)

References _, command::argv, badusage(), cipaction, DPKG_TAR_PASSTHROUGH, extracthalf(), and cmdinfo::olong.

Here is the call graph for this function:

◆ do_raw_extract()

int do_raw_extract ( const char *const *  argv)

References _, command::argv, badusage(), cipaction, DPKG_TAR_CREATE_DIR, DPKG_TAR_EXTRACT, DPKG_TAR_LIST, DPKG_TAR_PERMS, EXTRACTCONTROLDIR, extracthalf(), cmdinfo::olong, opt_verbose, and str_fmt().

Here is the call graph for this function:

◆ do_vextract()

int do_vextract ( const char *const *  argv)

References command::argv, do_extract(), and opt_verbose.

Here is the call graph for this function:

◆ extracthalf()

void extracthalf ( const char *  debar,
const char *  dir,
enum dpkg_tar_options  taroption,
int  admininfo 
)

Referenced by do_contents(), do_control(), do_ctrltarfile(), do_extract(), do_fsystarfile(), and do_raw_extract().

Here is the caller graph for this function: