summaryrefslogtreecommitdiffstats
path: root/common/stringhelp.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2020-08-20 15:50:50 +0200
committerWerner Koch <wk@gnupg.org>2020-08-20 15:50:50 +0200
commite276f63e4a80e8d1cb1ba5621cedaeb0ccda956d (patch)
tree3768a164f347db3805702f5f02e105653bc43797 /common/stringhelp.h
parentbuild: New configure option --disable-tests (diff)
downloadgnupg2-e276f63e4a80e8d1cb1ba5621cedaeb0ccda956d.tar.xz
gnupg2-e276f63e4a80e8d1cb1ba5621cedaeb0ccda956d.zip
gpgtar: Make --files-from and --null work as described.
* tools/gpgtar-create.c (gpgtar_create): Add args files_from and null_names. Improve reading from a file. * tools/gpgtar.c: Make global vars static. (main): Remove tests for --files-from and --null option combinations. Pass option variables to gpgtar_create. -- GnuPG-bug-id: 5027 Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'common/stringhelp.h')
-rw-r--r--common/stringhelp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/stringhelp.h b/common/stringhelp.h
index 7df6c7656..42bb19aaf 100644
--- a/common/stringhelp.h
+++ b/common/stringhelp.h
@@ -42,6 +42,7 @@ char *has_leading_keyword (const char *string, const char *keyword);
const char *memistr (const void *buf, size_t buflen, const char *sub);
char *mem2str( char *, const void *, size_t);
char *trim_spaces( char *string );
+char *ascii_trim_spaces (char *string);
char *trim_trailing_spaces( char *string );
unsigned int trim_trailing_chars( unsigned char *line, unsigned len,
const char *trimchars);