From 102e973a9bc2746899bf604ea70e69f9862a6c6b Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Wed, 30 Apr 2003 03:34:30 +0000 Subject: doc/ 2003-04-30 Marcus Brinkmann * gpgme.texi (Encrypting a Plaintext): Remove reference to gpgme_get_op_info. (Detailed Results): Subsection removed. gpgme/ 2003-04-30 Marcus Brinkmann * gpgme.h (gpgme_get_op_info): Remove prototype. * ops.h (_gpgme_set_op_info, _gpgme_data_release_and_return_string, _gpgme_data_get_as_string, _gpgme_data_append, _gpgme_data_append_string, _gpgme_data_append_string_for_xml, _gpgme_data_append_for_xml, _gpgme_data_append_percentstring_for_xml): Likewise. (_gpgme_progress_status_handler): Change first arg to void *. * progress.c (_gpgme_progress_status_handler): Likewise. * conversion.c: Do not include , , , and , but . (_gpgme_data_append): Remove function. (_gpgme_data_append_string): Likewise. (_gpgme_data_append_for_xml): Likewise. (_gpgme_data_append_string_for_xml): Likewise. (_gpgme_data_append_percentstring_for_xml): Likewise. * data-mem.c (_gpgme_data_get_as_string): Likewise. (_gpgme_data_release_and_return_string): Likewise. * gpgme.c (gpgme_get_op_info): Likewise. (_gpgme_set_op_info): Likewise. tests/ 2003-04-30 Marcus Brinkmann * gpg/t-eventloop.c (main): Do not call print_op_info. (print_op_info): Function removed. --- doc/ChangeLog | 4 ++++ doc/gpgme.texi | 38 +------------------------------------- 2 files changed, 5 insertions(+), 37 deletions(-) (limited to 'doc') diff --git a/doc/ChangeLog b/doc/ChangeLog index 94d8f19e..fe3c608f 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,5 +1,9 @@ 2003-04-30 Marcus Brinkmann + * gpgme.texi (Encrypting a Plaintext): Remove reference to + gpgme_get_op_info. + (Detailed Results): Subsection removed. + * gpgme.texi (Key Listing Mode): Add GPGME_KEYLIST_MODE_SIGS. (Manipulating Keys): Add obsoleteness note. (Key Signatures): Likewise. diff --git a/doc/gpgme.texi b/doc/gpgme.texi index 2107e843..19bc0fbf 100644 --- a/doc/gpgme.texi +++ b/doc/gpgme.texi @@ -181,7 +181,6 @@ Crypto Operations * Decrypt and Verify:: Decrypting a signed ciphertext. * Sign:: Creating a signature. * Encrypt:: Encrypting a plaintext. -* Detailed Results:: How to obtain more info about the operation. Sign @@ -3040,7 +3039,6 @@ An error code describing the reason why the user ID was found invalid. * Decrypt and Verify:: Decrypting a signed ciphertext. * Sign:: Creating a signature. * Encrypt:: Encrypting a plaintext. -* Detailed Results:: How to obtain more info about the operation. @end menu @@ -3837,7 +3835,7 @@ If @code{GPGME_Invalid_UserID} is returned, some recipients in @var{rset} are invalid, but not all. In this case the plaintext is encrypted for all valid recipients and returned in @var{cipher}. More information about the invalid recipients is available with -@code{gpgme_get_op_info}. @xref{Detailed Results}. +@code{gpgme_op_encrypt_result}. If @var{recp} is @code{NULL}, symmetric rather than public key encryption is performed. Symmetrically encrypted cipher text can be @@ -3917,40 +3915,6 @@ recipients. @end deftypefun -@node Detailed Results -@subsection Detailed Results -@cindex cryptographic operation, detailed results - -@deftypefun {char *} gpgme_get_op_info (@w{GpgmeCtx @var{ctx}}, @w{int @var{reserved}}) -The function @code{gpgme_get_op_info} retrieves more information about -the last crypto operation. - -The function returns a string in the XML format. The user has to -release the string with @code{free}. - -Here is a sample of the information that might be returned: -@example - - - - 17 - 2 - pgp-sha1 - 01 - 9222222 - 121212121212121212 - - -@end example - -Currently, the only operations that return additional information are -encrypt, sign. @xref{Encrypt}, @xref{Sign}. - -The function returns a string or @code{NULL} if no such data is -available. -@end deftypefun - - @node Run Control @section Run Control @cindex run control -- cgit v1.2.3