dpkg 1.21.11
Macros | Enumerations | Functions | Variables
dpkg-deb.h File Reference

(affb86e43)

#include <dpkg/deb-version.h>
Include dependency graph for dpkg-deb.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ARCHIVEVERSION   "2.0"
 
#define BUILDCONTROLDIR   "DEBIAN"
 
#define EXTRACTCONTROLDIR   BUILDCONTROLDIR
 
#define OLDARCHIVEVERSION   "0.939000"
 
#define OLDDEBDIR   "DEBIAN"
 
#define OLDOLDDEBDIR   ".DEBIAN"
 
#define DEBMAGIC   "debian-binary"
 
#define ADMINMEMBER   "control.tar"
 
#define DATAMEMBER   "data.tar"
 
#define INTERPRETER_MAX   1024
 

Enumerations

enum  dpkg_tar_options {
  DPKG_TAR_PASSTHROUGH = 0 , DPKG_TAR_LIST = DPKG_BIT(0) , DPKG_TAR_EXTRACT = DPKG_BIT(1) , DPKG_TAR_PERMS = DPKG_BIT(2) ,
  DPKG_TAR_NOMTIME = DPKG_BIT(3) , DPKG_TAR_CREATE_DIR = DPKG_BIT(4)
}
 

Functions

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

Variables

action_func do_build
 
action_func do_contents
 
action_func do_control
 
action_func do_showinfo
 
action_func do_info
 
action_func do_field
 
action_func do_extract
 
action_func do_vextract
 
action_func do_raw_extract
 
action_func do_ctrltarfile
 
action_func do_fsystarfile
 
int opt_verbose
 
int opt_root_owner_group
 
int opt_uniform_compression
 
int debugflag
 
int nocheckflag
 
struct deb_version deb_format
 
const char * showformat
 
struct compress_params compress_params
 

Macro Definition Documentation

◆ ADMINMEMBER

#define ADMINMEMBER   "control.tar"

◆ ARCHIVEVERSION

#define ARCHIVEVERSION   "2.0"

◆ BUILDCONTROLDIR

#define BUILDCONTROLDIR   "DEBIAN"

◆ DATAMEMBER

#define DATAMEMBER   "data.tar"

◆ DEBMAGIC

#define DEBMAGIC   "debian-binary"

◆ EXTRACTCONTROLDIR

#define EXTRACTCONTROLDIR   BUILDCONTROLDIR

◆ INTERPRETER_MAX

#define INTERPRETER_MAX   1024

◆ OLDARCHIVEVERSION

#define OLDARCHIVEVERSION   "0.939000"

◆ OLDDEBDIR

#define OLDDEBDIR   "DEBIAN"

◆ OLDOLDDEBDIR

#define OLDOLDDEBDIR   ".DEBIAN"

Enumeration Type Documentation

◆ dpkg_tar_options

Enumerator
DPKG_TAR_PASSTHROUGH 

Output the tar file directly, without any processing.

DPKG_TAR_LIST 

List tar files.

DPKG_TAR_EXTRACT 

Extract tar files.

DPKG_TAR_PERMS 

Preserve tar permissions on extract.

DPKG_TAR_NOMTIME 

Do not set tar mtime on extract.

DPKG_TAR_CREATE_DIR 

Guarantee extraction into a new directory, abort if it exists.

Function Documentation

◆ 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:

Variable Documentation

◆ compress_params

◆ deb_format

struct deb_version deb_format
extern

◆ debugflag

int debugflag
extern

◆ do_build

action_func do_build

◆ do_contents

action_func do_contents

◆ do_control

action_func do_control

◆ do_ctrltarfile

action_func do_ctrltarfile

◆ do_extract

action_func do_extract

◆ do_field

action_func do_field

◆ do_fsystarfile

action_func do_fsystarfile

◆ do_info

action_func do_info

◆ do_raw_extract

action_func do_raw_extract

◆ do_showinfo

action_func do_showinfo

◆ do_vextract

action_func do_vextract

◆ nocheckflag

int nocheckflag

◆ opt_root_owner_group

int opt_root_owner_group
extern

◆ opt_uniform_compression

int opt_uniform_compression
extern

◆ opt_verbose

int opt_verbose
extern

◆ showformat

const char* showformat
extern

Referenced by do_showinfo().