aboutsummaryrefslogtreecommitdiff
path: root/tar/bsdtar.h
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2020-02-11 23:48:03 +0000
committerMartin Matuska <mm@FreeBSD.org>2020-02-11 23:48:03 +0000
commit8185c4ae244f9a52ad987b36e7d6300500054d00 (patch)
tree11e2d7cd0caf20998ed1e1146e1c1d7fc747165e /tar/bsdtar.h
parent98c1f51f769841d99d879099f9075ff60d51ee4a (diff)
Diffstat (limited to 'tar/bsdtar.h')
-rw-r--r--tar/bsdtar.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/tar/bsdtar.h b/tar/bsdtar.h
index c61d568fd748..89aa3aa9198d 100644
--- a/tar/bsdtar.h
+++ b/tar/bsdtar.h
@@ -25,6 +25,9 @@
* $FreeBSD: src/usr.bin/tar/bsdtar.h,v 1.37 2008/12/06 07:37:14 kientzle Exp $
*/
+#ifndef BSDTAR_H_INCLUDED
+#define BSDTAR_H_INCLUDED
+
#include "bsdtar_platform.h"
#include <stdio.h>
@@ -161,6 +164,7 @@ enum {
OPTION_NO_ACLS,
OPTION_NO_FFLAGS,
OPTION_NO_MAC_METADATA,
+ OPTION_NO_SAFE_WRITES,
OPTION_NO_SAME_OWNER,
OPTION_NO_SAME_PERMISSIONS,
OPTION_NO_XATTRS,
@@ -174,6 +178,7 @@ enum {
OPTION_OPTIONS,
OPTION_PASSPHRASE,
OPTION_POSIX,
+ OPTION_SAFE_WRITES,
OPTION_SAME_OWNER,
OPTION_STRIP_COMPONENTS,
OPTION_TOTALS,
@@ -224,3 +229,5 @@ const char * passphrase_callback(struct archive *, void *);
void passphrase_free(char *);
void list_item_verbose(struct bsdtar *, FILE *,
struct archive_entry *);
+
+#endif