doc/
2002-01-22 Marcus Brinkmann <marcus@g10code.de> * gpgme.texi (Passphrase callback): Change GpgmePassphraseCb's R_HD type from void* to void**. gpgme/ 2002-01-22 Marcus Brinkmann <marcus@g10code.de> * gpgme.h (GpgmePassphraseCb): Change type of R_HD from void* to void**. tests/ 2002-01-22 Marcus Brinkmann <marcus@g10code.de> * gpg/t-signers.c (passphrase_cb): Change type of r_hd to void**. * gpg/t-sign.c (passphrase_cb): Likewise. * gpg/t-decrypt-verify.c (passphrase_cb): Likewise. * gpg/t-decrypt.c (passphrase_cb): Likewise.
This commit is contained in:
parent
8270a38b05
commit
1e1fb4724c
6
NEWS
6
NEWS
@ -1,7 +1,10 @@
|
||||
* There is a Texinfo manual documenting the API.
|
||||
|
||||
* The LENGTH argument to gpgme_data_new_from_filepart changed its
|
||||
type from off_t to the unsigned size_t.
|
||||
|
||||
* There is a Texinfo manual documenting the API.
|
||||
* The R_HD argument to the GpgmePassphraseCb type changed its type
|
||||
from void* to void**.
|
||||
|
||||
* New interface gpgme_op_trustlist_end() to match
|
||||
gpgme_op_keylist_end.
|
||||
@ -9,6 +12,7 @@
|
||||
* Interface changes relative to the 0.3.0 release:
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
gpgme_data_new_from_filepart CHANGED: Type of LENGTH is size_t.
|
||||
GpgmePassphraseCb CHANGED: Type of R_HD is void **.
|
||||
gpgme_op_trustlist_next NEW
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
6
TODO
6
TODO
@ -1,9 +1,7 @@
|
||||
* ABI's to break:
|
||||
** GpgmePassphraseCb should have void **R_HD, not void *R_HD.
|
||||
** trustlist has the same start/end problem as keylist had.
|
||||
In fact, all the _start functions have this problem!
|
||||
In addition, the resulting error of the operation can not be
|
||||
retrieved seperately; the op_foobar operations can't be implemented
|
||||
** The resulting error of an operation can not be retrieved
|
||||
seperately; the op_foobar operations can't be implemented
|
||||
by the user, they are not merely convenience, but necessity, while
|
||||
the op_foobar_start functions for these are unusable (or render the
|
||||
context unusable, your choice).
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-01-22 Marcus Brinkmann <marcus@g10code.de>
|
||||
|
||||
* gpgme.texi (Passphrase callback): Change GpgmePassphraseCb's
|
||||
R_HD type from void* to void**.
|
||||
|
||||
2002-01-22 Marcus Brinkmann <marcus@g10code.de>
|
||||
|
||||
* gpgme.texi (Creating data buffers): Change
|
||||
|
@ -1007,7 +1007,7 @@ Fast listing without information about the key validity.
|
||||
@node Passphrase callback
|
||||
@subsection Passphrase callback
|
||||
|
||||
@deftp {Data type} {const char *(*GpgmePassphraseCb)(void *@var{hook}, const char *@var{desc}, void *@var{r_hd})}
|
||||
@deftp {Data type} {const char *(*GpgmePassphraseCb)(void *@var{hook}, const char *@var{desc}, void **@var{r_hd})}
|
||||
The @code{GpgmePasshraseCb} type is the type of functions usable as
|
||||
passphrase callback function.
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-01-22 Marcus Brinkmann <marcus@g10code.de>
|
||||
|
||||
* gpgme.h (GpgmePassphraseCb): Change type of R_HD from void* to
|
||||
void**.
|
||||
|
||||
2002-01-22 Marcus Brinkmann <marcus@g10code.de>
|
||||
|
||||
* data.c (gpgme_data_new_from_filepart): Change type of LENGTH
|
||||
|
@ -303,7 +303,7 @@ gpgme_set_keylist_mode (GpgmeCtx ctx, int mode)
|
||||
* <literal>
|
||||
* typedef const char *(*GpgmePassphraseCb)(void*cb_value,
|
||||
* const char *desc,
|
||||
* void *r_hd);
|
||||
* void **r_hd);
|
||||
* </literal>
|
||||
* and called whenever gpgme needs a passphrase. DESC will have a nice
|
||||
* text, to be used to prompt for the passphrase and R_HD is just a parameter
|
||||
|
@ -160,7 +160,7 @@ typedef enum {
|
||||
} GpgmeProtocol;
|
||||
|
||||
typedef const char *(*GpgmePassphraseCb)(void*,
|
||||
const char *desc, void *r_hd);
|
||||
const char *desc, void **r_hd);
|
||||
typedef void (*GpgmeProgressCb)(void *opaque,
|
||||
const char *what,
|
||||
int type, int current, int total );
|
||||
|
@ -1,3 +1,10 @@
|
||||
2002-01-22 Marcus Brinkmann <marcus@g10code.de>
|
||||
|
||||
* gpg/t-signers.c (passphrase_cb): Change type of r_hd to void**.
|
||||
* gpg/t-sign.c (passphrase_cb): Likewise.
|
||||
* gpg/t-decrypt-verify.c (passphrase_cb): Likewise.
|
||||
* gpg/t-decrypt.c (passphrase_cb): Likewise.
|
||||
|
||||
2001-12-19 Marcus Brinkmann <marcus@g10code.de>
|
||||
|
||||
* gpg/t-decrypt-verify.c: Don't include `mcheck.h'. Reported by
|
||||
|
@ -58,7 +58,7 @@ print_data (GpgmeData dh)
|
||||
}
|
||||
|
||||
static const char *
|
||||
passphrase_cb (void *opaque, const char *desc, void *r_hd)
|
||||
passphrase_cb (void *opaque, const char *desc, void **r_hd)
|
||||
{
|
||||
const char *pass;
|
||||
|
||||
|
@ -59,7 +59,7 @@ print_data ( GpgmeData dh )
|
||||
|
||||
|
||||
static const char *
|
||||
passphrase_cb ( void *opaque, const char *desc, void *r_hd )
|
||||
passphrase_cb ( void *opaque, const char *desc, void **r_hd )
|
||||
{
|
||||
const char *pass;
|
||||
|
||||
|
@ -62,7 +62,7 @@ print_data ( GpgmeData dh )
|
||||
}
|
||||
|
||||
static const char *
|
||||
passphrase_cb ( void *opaque, const char *desc, void *r_hd )
|
||||
passphrase_cb ( void *opaque, const char *desc, void **r_hd )
|
||||
{
|
||||
const char *pass;
|
||||
|
||||
|
@ -62,7 +62,7 @@ print_data (GpgmeData dh)
|
||||
}
|
||||
|
||||
static const char *
|
||||
passphrase_cb (void *opaque, const char *desc, void *r_hd)
|
||||
passphrase_cb (void *opaque, const char *desc, void **r_hd)
|
||||
{
|
||||
const char *pass;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user