doc/
2002-01-22 Marcus Brinkmann <marcus@g10code.de> * gpgme.texi (Creating data buffers): Change gpgme_data_new_from_filepart's LENGTH type from off_t to size_t. gpgme/ 2002-01-22 Marcus Brinkmann <marcus@g10code.de> * data.c (gpgme_data_new_from_filepart): Change type of LENGTH from off_t to size_t. * gpgme.h: Likewise.
This commit is contained in:
parent
6f7d1bc770
commit
8270a38b05
11
NEWS
11
NEWS
@ -1,8 +1,17 @@
|
|||||||
|
* 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.
|
* There is a Texinfo manual documenting the API.
|
||||||
|
|
||||||
* New interface gpgme_op_trustlist_end() to match
|
* New interface gpgme_op_trustlist_end() to match
|
||||||
gpgme_op_keylist_end.
|
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.
|
||||||
|
gpgme_op_trustlist_next NEW
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
Noteworthy changes in version 0.3.0 (2001-12-19)
|
Noteworthy changes in version 0.3.0 (2001-12-19)
|
||||||
------------------------------------------------
|
------------------------------------------------
|
||||||
|
|
||||||
@ -45,7 +54,7 @@ Noteworthy changes in version 0.3.0 (2001-12-19)
|
|||||||
uses the GnuPG engine (`gpgmeplug') and one module which uses the
|
uses the GnuPG engine (`gpgmeplug') and one module which uses the
|
||||||
GpgSM engine (`gpgsmplug').
|
GpgSM engine (`gpgsmplug').
|
||||||
|
|
||||||
* Interface changes relative to the latest 0.2.x release:
|
* Interface changes relative to the latest 0.2.x release:
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
gpgme_key_get_as_xml CHANGED: Sub-user ids reversed in order.
|
gpgme_key_get_as_xml CHANGED: Sub-user ids reversed in order.
|
||||||
gpgme_key_get_string_attr CHANGED: User ids reversed in order.
|
gpgme_key_get_string_attr CHANGED: User ids reversed in order.
|
||||||
|
2
TODO
2
TODO
@ -1,6 +1,4 @@
|
|||||||
* ABI's to break:
|
* ABI's to break:
|
||||||
** gpgme_data_new_from_filepart takes an off_t as count, but should
|
|
||||||
take a size_t.
|
|
||||||
** GpgmePassphraseCb should have void **R_HD, not void *R_HD.
|
** GpgmePassphraseCb should have void **R_HD, not void *R_HD.
|
||||||
** trustlist has the same start/end problem as keylist had.
|
** trustlist has the same start/end problem as keylist had.
|
||||||
In fact, all the _start functions have this problem!
|
In fact, all the _start functions have this problem!
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2002-01-22 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
|
* gpgme.texi (Creating data buffers): Change
|
||||||
|
gpgme_data_new_from_filepart's LENGTH type from off_t to size_t.
|
||||||
|
|
||||||
2002-01-22 Marcus Brinkmann <marcus@g10code.de>
|
2002-01-22 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
* gpgme.texi (Generating keys): New subsection.
|
* gpgme.texi (Generating keys): New subsection.
|
||||||
|
@ -724,7 +724,7 @@ I/O operation fails, @code{GPGME_Not_Implemented} if @var{code} is
|
|||||||
zero, and @code{GPGME_Out_Of_Core} if not enough memory is available.
|
zero, and @code{GPGME_Out_Of_Core} if not enough memory is available.
|
||||||
@end deftypefun
|
@end deftypefun
|
||||||
|
|
||||||
@deftypefun GpgmeError gpgme_data_new_from_filepart (@w{GpgmeData *@var{dh}}, @w{const char *@var{filename}}, @w{FILE *@var{fp}}, @w{off_t @var{offset}}, @w{off_t @var{length}})
|
@deftypefun GpgmeError gpgme_data_new_from_filepart (@w{GpgmeData *@var{dh}}, @w{const char *@var{filename}}, @w{FILE *@var{fp}}, @w{off_t @var{offset}}, @w{size_t @var{length}})
|
||||||
The function @code{gpgme_data_new_from_filepart} creates a new
|
The function @code{gpgme_data_new_from_filepart} creates a new
|
||||||
@code{GpgmeData} object and fills it with a part of the file specified
|
@code{GpgmeData} object and fills it with a part of the file specified
|
||||||
by @var{filename} or @var{fp}.
|
by @var{filename} or @var{fp}.
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2002-01-22 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
|
* data.c (gpgme_data_new_from_filepart): Change type of LENGTH
|
||||||
|
from off_t to size_t.
|
||||||
|
* gpgme.h: Likewise.
|
||||||
|
|
||||||
2002-01-22 Marcus Brinkmann <marcus@g10code.de>
|
2002-01-22 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
* wait.c (_gpgme_wait_on_condition): If the process finished,
|
* wait.c (_gpgme_wait_on_condition): If the process finished,
|
||||||
|
@ -283,7 +283,7 @@ gpgme_data_new_from_file (GpgmeData *r_dh, const char *fname, int copy)
|
|||||||
**/
|
**/
|
||||||
GpgmeError
|
GpgmeError
|
||||||
gpgme_data_new_from_filepart (GpgmeData *r_dh, const char *fname, FILE *fp,
|
gpgme_data_new_from_filepart (GpgmeData *r_dh, const char *fname, FILE *fp,
|
||||||
off_t offset, off_t length)
|
off_t offset, size_t length)
|
||||||
{
|
{
|
||||||
GpgmeData dh;
|
GpgmeData dh;
|
||||||
GpgmeError err;
|
GpgmeError err;
|
||||||
|
@ -218,9 +218,9 @@ GpgmeError gpgme_data_new_with_read_cb ( GpgmeData *r_dh,
|
|||||||
GpgmeError gpgme_data_new_from_file ( GpgmeData *r_dh,
|
GpgmeError gpgme_data_new_from_file ( GpgmeData *r_dh,
|
||||||
const char *fname,
|
const char *fname,
|
||||||
int copy );
|
int copy );
|
||||||
GpgmeError gpgme_data_new_from_filepart ( GpgmeData *r_dh,
|
GpgmeError gpgme_data_new_from_filepart (GpgmeData *r_dh,
|
||||||
const char *fname, FILE *fp,
|
const char *fname, FILE *fp,
|
||||||
off_t offset, off_t length );
|
off_t offset, size_t length);
|
||||||
void gpgme_data_release ( GpgmeData dh );
|
void gpgme_data_release ( GpgmeData dh );
|
||||||
char * gpgme_data_release_and_get_mem ( GpgmeData dh, size_t *r_len );
|
char * gpgme_data_release_and_get_mem ( GpgmeData dh, size_t *r_len );
|
||||||
GpgmeDataType gpgme_data_get_type ( GpgmeData dh );
|
GpgmeDataType gpgme_data_get_type ( GpgmeData dh );
|
||||||
|
Loading…
Reference in New Issue
Block a user