diff options
author | Marcus Brinkmann <[email protected]> | 2002-08-20 13:38:40 +0000 |
---|---|---|
committer | Marcus Brinkmann <[email protected]> | 2002-08-20 13:38:40 +0000 |
commit | bfbe2656136c49fc2ba959e0b8393dab6a49ee36 (patch) | |
tree | 4d726d093491e270287501fe563603826cb7e2c0 /doc | |
parent | * vasprintf.c (int_vasprintf): Hack to handle NULL passed for %s. (diff) | |
download | gpgme-bfbe2656136c49fc2ba959e0b8393dab6a49ee36.tar.gz gpgme-bfbe2656136c49fc2ba959e0b8393dab6a49ee36.zip |
doc/
2002-08-20 Marcus Brinkmann <[email protected]>
* gpgme.texi (Importing Keys): Document gpgme_op_import_ext.
gpgme/
2002-08-20 Marcus Brinkmann <[email protected]>
* gpgme.h: Add prototype for gpgme_op_import_ext.
* import.c (struct import_result_s): New member `nr_considered'.
Rename `any_imported' to `nr_imported'.
(import_status_handler): Increment nr_imported. Set nr_considered
if appropriate.
(gpgme_op_import_ext): New function.
(gpgme_op_import): Implement in terms of gpgme_op_import_ext.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ChangeLog | 4 | ||||
-rw-r--r-- | doc/gpgme.texi | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog index 30d81ed4..aa45097b 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,7 @@ +2002-08-20 Marcus Brinkmann <[email protected]> + + * gpgme.texi (Importing Keys): Document gpgme_op_import_ext. + 2002-08-14 Werner Koch <[email protected]> * gpgme.texi (Information About Keys): Changed GPGME_ATTR_TYPE. diff --git a/doc/gpgme.texi b/doc/gpgme.texi index a408f8ff..904160a4 100644 --- a/doc/gpgme.texi +++ b/doc/gpgme.texi @@ -1932,6 +1932,13 @@ started successfully, @code{GPGME_Invalid_Value} if @var{keydata} if @code{GPGME_No_Data} if @var{keydata} is an empty data buffer. @end deftypefun +@deftypefun GpgmeError gpgme_op_import_ext (@w{GpgmeCtx @var{ctx}}, @w{GpgmeData @var{keydata}}, @w{int *@var{nr}}) +The function @code{gpgme_op_import_ext} is like +@code{gpgme_op_import}, but also returns the number of processed keys +in @var{nr}. This is the same as the @code{count} information in the +detailed results available with @code{gpgme_get_op_info}. +@end deftypefun + @node Deleting Keys @subsection Deleting Keys |