summaryrefslogtreecommitdiff
path: root/dpkg-deb/dpkg-deb.h
diff options
context:
space:
mode:
Diffstat (limited to 'dpkg-deb/dpkg-deb.h')
-rw-r--r--dpkg-deb/dpkg-deb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dpkg-deb/dpkg-deb.h b/dpkg-deb/dpkg-deb.h
index 6fd8f2b0a..a5e8d39ce 100644
--- a/dpkg-deb/dpkg-deb.h
+++ b/dpkg-deb/dpkg-deb.h
@@ -54,6 +54,8 @@ enum dpkg_tar_options {
DPKG_TAR_PERMS = DPKG_BIT(2),
/** Do not set tar mtime on extract. */
DPKG_TAR_NOMTIME = DPKG_BIT(3),
+ /** Guarantee extraction into a new directory, abort if it exists. */
+ DPKG_TAR_CREATE_DIR = DPKG_BIT(4),
};
void extracthalf(const char *debar, const char *dir,