2003-05-27 Marcus Brinkmann <marcus@g10code.de>

* gpgme.h (struct _gpgme_op_import_result): Add skipped_new_keys.
	* import.c (parse_import_res): Add skipped_new_keys parser.
This commit is contained in:
Marcus Brinkmann 2003-05-27 09:00:02 +00:00
parent 64b0e7004f
commit d5d26aecbc
3 changed files with 7 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2003-05-27 Marcus Brinkmann <marcus@g10code.de>
* gpgme.h (struct _gpgme_op_import_result): Add skipped_new_keys.
* import.c (parse_import_res): Add skipped_new_keys parser.
* op-support.c (_gpgme_parse_inv_userid): Add missing break
statements.
* encrypt.c (gpgme_op_encrypt): Use gpgme_error_t instead of int.

View File

@ -1240,6 +1240,9 @@ struct _gpgme_op_import_result
/* Number of secret keys unchanged. */
int secret_unchanged;
/* Number of new keys skipped. */
int skipped_new_keys;
/* Number of keys not imported. */
int not_imported;

View File

@ -170,6 +170,7 @@ parse_import_res (char *args, gpgme_import_result_t result)
PARSE_NEXT (result->secret_read);
PARSE_NEXT (result->secret_imported);
PARSE_NEXT (result->secret_unchanged);
PARSE_NEXT (result->skipped_new_keys);
PARSE_NEXT (result->not_imported);
return 0;