diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-01-23 10:22:33 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-01-23 10:22:33 +0000 |
commit | 12afca6d673bf3f44156a8275da5cad5bc4454e2 (patch) | |
tree | b85b6211e61c264006a2891b75f4882172379e0f /src/wydawca.h | |
parent | 806fa9b42234f31b1063d47d8318b8d18c6c05e7 (diff) | |
download | wydawca-12afca6d673bf3f44156a8275da5cad5bc4454e2.tar.gz wydawca-12afca6d673bf3f44156a8275da5cad5bc4454e2.tar.bz2 |
Version 1.2
* configure.ac, NEWS: Version 1.2
* doc/wydawca.texi: Document new features.
* src/wydawca.c (archive_signatures): New variable.
* src/wydawca.h (SUF_SIG,SUF_SIG_LEN,SUF_DIR,SUF_DIR_LEN): New
macros.
(archive_signatures): New variable.
* src/config.c: New configuration file statement
archive-signatures.
* src/process.c (SUF_SIG,SUF_DIR): Move to src/wydawca.
* src/diskio.c (backup_file): Do not update statistics.
(do_archive_file): Unlink the file after archivation.
(archive_single_file): New function.
(archive_file): Implicitly archive .sig file, if
archive_signatures is set.
* src/triplet.c (check_triplet_state): Call
verify_directive_file.
(triplet_processor): Remove call to verify_directive_file.
git-svn-id: file:///svnroot/wydawca/trunk@337 6bb4bd81-ecc2-4fd4-a2d4-9571d19c0d33
Diffstat (limited to 'src/wydawca.h')
-rw-r--r-- | src/wydawca.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wydawca.h b/src/wydawca.h index d4d1387..ac3b05a 100644 --- a/src/wydawca.h +++ b/src/wydawca.h @@ -48,6 +48,11 @@ #define MKDIR_PERMISSIONS 0777 #define CREAT_PERMISSIONS 0666 +#define SUF_SIG ".sig" +#define SUF_SIG_LEN (sizeof (SUF_SIG) - 1) +#define SUF_DIR ".directive.asc" +#define SUF_DIR_LEN (sizeof (SUF_DIR) - 1) + #define NITEMS(a) (sizeof(a)/sizeof((a)[0])) enum access_method_type @@ -249,6 +254,7 @@ extern char *tar_command_name; /* Name of the tar command */ extern unsigned wydawca_stat[MAX_STAT]; extern unsigned long print_stats; extern int enable_sendfile; +extern int archive_signatures; #define UPDATE_STATS(what) \ do \ |