doc: Fix a few errors in the documentation of gpgme_op_import_*

--
This commit is contained in:
Ingo Klöcker 2021-12-13 16:07:54 +01:00
parent ed7e7df2e1
commit c89226d47f

View File

@ -5031,7 +5031,7 @@ retrieved with @code{gpgme_op_import_result}.
The function returns the error code @code{GPG_ERR_NO_ERROR} if the The function returns the error code @code{GPG_ERR_NO_ERROR} if the
import was completed successfully, @code{GPG_ERR_INV_VALUE} if import was completed successfully, @code{GPG_ERR_INV_VALUE} if
@var{keydata} if @var{ctx} or @var{keydata} is not a valid pointer, @var{ctx} or @var{keydata} is not a valid pointer,
and @code{GPG_ERR_NO_DATA} if @var{keydata} is an empty data buffer. and @code{GPG_ERR_NO_DATA} if @var{keydata} is an empty data buffer.
@end deftypefun @end deftypefun
@ -5074,8 +5074,8 @@ keydata using @code{gpgme_op_export} and @code{gpgme_op_import}.
The function returns the error code @code{GPG_ERR_NO_ERROR} if the The function returns the error code @code{GPG_ERR_NO_ERROR} if the
import was completed successfully, @code{GPG_ERR_INV_VALUE} if import was completed successfully, @code{GPG_ERR_INV_VALUE} if
@var{ctx} is not a valid pointer, @code{GPG_ERR_CONFLICT} if the key @var{ctx} is not a valid pointer, @code{GPG_ERR_CONFLICT} if the key
listing mode does not match, and @code{GPG_ERR_NO_DATA} if no keys are listing mode does not match, and @code{GPG_ERR_NO_DATA} if no keys were
considered for export. considered for import.
@end deftypefun @end deftypefun
@deftypefun gpgme_error_t gpgme_op_import_keys_start (@w{gpgme_ctx_t @var{ctx}}, @w{gpgme_key_t *@var{keys}}) @deftypefun gpgme_error_t gpgme_op_import_keys_start (@w{gpgme_ctx_t @var{ctx}}, @w{gpgme_key_t *@var{keys}})
@ -5086,10 +5086,10 @@ The function @code{gpgme_op_import_keys_start} initiates a
@code{gpgme_wait} on the context. @xref{Waiting For Completion}. @code{gpgme_wait} on the context. @xref{Waiting For Completion}.
The function returns the error code @code{GPG_ERR_NO_ERROR} if the The function returns the error code @code{GPG_ERR_NO_ERROR} if the
import was completed successfully, @code{GPG_ERR_INV_VALUE} if import was started successfully, @code{GPG_ERR_INV_VALUE} if
@var{keydata} if @var{ctx} or @var{keydata} is not a valid pointer, @var{ctx} is not a valid pointer, @code{GPG_ERR_CONFLICT} if the key
@code{GPG_ERR_CONFLICT} if the key listing mode does not match, and listing mode does not match, and @code{GPG_ERR_NO_DATA} if no keys were
@code{GPG_ERR_NO_DATA} if no keys are considered for export. considered for import.
@end deftypefun @end deftypefun
@deftp {Data type} {gpgme_import_status_t} @deftp {Data type} {gpgme_import_status_t}