summaryrefslogtreecommitdiffstats
path: root/tools/gpgtar.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2022-03-22 10:19:55 +0100
committerWerner Koch <wk@gnupg.org>2022-03-22 10:19:55 +0100
commited53d41b4c463072bac30b0e4c73f8bf445bd22d (patch)
tree70e419b21ec837f0f864304962bfc084f0c9e62f /tools/gpgtar.h
parentdirmngr: Make WKD_GET work even for servers not handling SRV RRs. (diff)
downloadgnupg2-ed53d41b4c463072bac30b0e4c73f8bf445bd22d.tar.xz
gnupg2-ed53d41b4c463072bac30b0e4c73f8bf445bd22d.zip
gpgtar: New option --with-log
* tools/gpgtar.c: New option --with-log. * tools/gpgtar.h (opt): Add field with_log. * tools/gpgtar-extract.c (gpgtar_extract): Move directory string building up. Add option --log-file if needed. * tools/gpgtar-create.c (gpgtar_create): Make tmpbuf static becuase it is used outside of its scope. * tools/gpgtar-list.c (gpgtar_list): Ditto.
Diffstat (limited to 'tools/gpgtar.h')
-rw-r--r--tools/gpgtar.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gpgtar.h b/tools/gpgtar.h
index c403835b5..0854064fb 100644
--- a/tools/gpgtar.h
+++ b/tools/gpgtar.h
@@ -46,6 +46,7 @@ struct
int answer_no;
int status_fd;
int require_compliance;
+ int with_log;
} opt;