dpkg 1.22.7-3-g89f48
Loading...
Searching...
No Matches
Macros | Functions | Variables
dpkg-deb.h File Reference

(33b0a98e1)

#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
 

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 opt_debug
 
int opt_nocheck
 
const char * opt_showformat
 
struct deb_version deb_format
 
enum DPKG_ATTR_ENUM_FLAGS dpkg_tar_options
 
 DPKG_TAR_PASSTHROUGH = 0
 Output the tar file directly, without any processing.
 
 DPKG_TAR_LIST = DPKG_BIT(0)
 List tar files.
 
 DPKG_TAR_EXTRACT = DPKG_BIT(1)
 Extract tar files.
 
 DPKG_TAR_PERMS = DPKG_BIT(2)
 Preserve tar permissions on extract.
 
 DPKG_TAR_NOMTIME = DPKG_BIT(3)
 Do not set tar mtime on extract.
 
 DPKG_TAR_CREATE_DIR = DPKG_BIT(4)
 Guarantee extraction into a new directory, abort if it exists.
 
struct compress_params compress_params_deb0
 
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"

Function Documentation

◆ extracthalf()

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

Variable Documentation

◆ compress_params

◆ compress_params_deb0

struct compress_params compress_params_deb0
extern

Referenced by do_build(), and main().

◆ deb_format

struct deb_version deb_format
extern

Referenced by do_build(), and main().

◆ 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

Referenced by do_vextract().

◆ 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

◆ DPKG_TAR_CREATE_DIR

DPKG_TAR_CREATE_DIR = DPKG_BIT(4)

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

Referenced by do_raw_extract(), and extracthalf().

◆ DPKG_TAR_EXTRACT

DPKG_TAR_EXTRACT = DPKG_BIT(1)

Extract tar files.

Referenced by do_control(), do_extract(), do_raw_extract(), and extracthalf().

◆ DPKG_TAR_LIST

DPKG_TAR_LIST = DPKG_BIT(0)

List tar files.

Referenced by do_contents(), do_extract(), do_raw_extract(), and extracthalf().

◆ DPKG_TAR_NOMTIME

DPKG_TAR_NOMTIME = DPKG_BIT(3)

Do not set tar mtime on extract.

Referenced by extracthalf().

◆ dpkg_tar_options

enum DPKG_ATTR_ENUM_FLAGS dpkg_tar_options

Referenced by do_extract(), and do_raw_extract().

◆ DPKG_TAR_PASSTHROUGH

DPKG_TAR_PASSTHROUGH = 0

Output the tar file directly, without any processing.

Referenced by do_ctrltarfile(), and do_fsystarfile().

◆ DPKG_TAR_PERMS

DPKG_TAR_PERMS = DPKG_BIT(2)

Preserve tar permissions on extract.

Referenced by do_extract(), do_raw_extract(), and extracthalf().

◆ opt_debug

int opt_debug
extern

◆ opt_nocheck

int opt_nocheck
extern

Referenced by do_build().

◆ opt_root_owner_group

int opt_root_owner_group
extern

Referenced by do_build().

◆ opt_showformat

const char* opt_showformat
extern

Referenced by do_showinfo().

◆ opt_uniform_compression

int opt_uniform_compression
extern

Referenced by do_build(), and main().

◆ opt_verbose

int opt_verbose
extern