+ * 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.
* 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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* 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).
+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
@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.
+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
* <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
} 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 );
+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
}
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;
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;
}
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;
}
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;