aboutsummaryrefslogtreecommitdiffstats
path: root/kbx/keybox-defs.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2007-08-23 17:41:22 +0000
committerWerner Koch <[email protected]>2007-08-23 17:41:22 +0000
commit698ba5ae3cc6ceee476188ad794b295e664793bf (patch)
tree69d28a943a27a989bad5483c9f932a2945caa46f /kbx/keybox-defs.h
parentAdd missing file (diff)
downloadgnupg-698ba5ae3cc6ceee476188ad794b295e664793bf.tar.gz
gnupg-698ba5ae3cc6ceee476188ad794b295e664793bf.zip
Add new features to kbxutil.
Fixed bug 829 (can't encrypt if duplicated certs are in the keybox)
Diffstat (limited to 'kbx/keybox-defs.h')
-rw-r--r--kbx/keybox-defs.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/kbx/keybox-defs.h b/kbx/keybox-defs.h
index ffdca2b9b..c425cdd40 100644
--- a/kbx/keybox-defs.h
+++ b/kbx/keybox-defs.h
@@ -169,6 +169,9 @@ gpg_err_code_t _keybox_get_flag_location (const unsigned char *buffer,
/*-- keybox-dump.c --*/
int _keybox_dump_blob (KEYBOXBLOB blob, FILE *fp);
int _keybox_dump_file (const char *filename, int stats_only, FILE *outfp);
+int _keybox_dump_find_dups (const char *filename, int print_them, FILE *outfp);
+int _keybox_dump_cut_records (const char *filename, unsigned long from,
+ unsigned long to, FILE *outfp);
/*-- keybox-util.c --*/
@@ -186,7 +189,7 @@ void _keybox_free (void *p);
#define DIM(v) (sizeof(v)/sizeof((v)[0]))
#define DIMof(type,member) DIM(((type *)0)->member)
#ifndef STR
- #define STR(v) #v
+# define STR(v) #v
#endif
#define STR2(v) STR(v)