aboutsummaryrefslogtreecommitdiffstats
path: root/sm/gpgsm.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2002-08-20 13:09:53 +0000
committerWerner Koch <[email protected]>2002-08-20 13:09:53 +0000
commite18e3875b75617a15cae196afe1434a5b37766ed (patch)
tree984de79cff99c339e6e70740edc2c38a364e333f /sm/gpgsm.h
parent* DETAILS: Clarify that trust letters 'q' and '-' can be treated (diff)
downloadgnupg-e18e3875b75617a15cae196afe1434a5b37766ed.tar.gz
gnupg-e18e3875b75617a15cae196afe1434a5b37766ed.zip
* gpgsm.c (main): Use the log file only in server mode.
* import.c (print_imported_summary): New. (check_and_store): Update the counters, take new argument. (import_one): Factored out core of gpgsm_import. (gpgsm_import): Print counters. (gpgsm_import_files): New. * gpgsm.c (main): Use the new function for import.
Diffstat (limited to '')
-rw-r--r--sm/gpgsm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sm/gpgsm.h b/sm/gpgsm.h
index 93983bf10..50590206e 100644
--- a/sm/gpgsm.h
+++ b/sm/gpgsm.h
@@ -208,6 +208,8 @@ void gpgsm_list_keys (CTRL ctrl, STRLIST names, FILE *fp, unsigned int mode);
/*-- import.c --*/
int gpgsm_import (CTRL ctrl, int in_fd);
+int gpgsm_import_files (CTRL ctrl, int nfiles, char **files,
+ int (*of)(const char *fname));
/*-- export.c --*/
void gpgsm_export (CTRL ctrl, STRLIST names, FILE *fp);