diff options
author | Marcus Brinkmann <mb@g10code.com> | 2009-12-15 01:36:40 +0000 |
---|---|---|
committer | Marcus Brinkmann <mb@g10code.com> | 2009-12-15 01:36:40 +0000 |
commit | 42ccca321cc69db9891a2413747078e079d4f1ad (patch) | |
tree | cec776cb789efebef8642475c64016eb08adc6f6 /doc | |
parent | 6c94b937ba12ef36b225e9273c42365168bbd723 (diff) | |
download | libassuan-42ccca321cc69db9891a2413747078e079d4f1ad.tar.gz |
2009-12-15 Marcus Brinkmann <marcus@g10code.de>
* configure.ac: Bump version to 2.0.0.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/README.apichanges | 30 |
1 files changed, 27 insertions, 3 deletions
diff --git a/doc/README.apichanges b/doc/README.apichanges index 0a45afe..b2de829 100644 --- a/doc/README.apichanges +++ b/doc/README.apichanges @@ -1,11 +1,35 @@ README.apichanges -*- text -*- -API changes between 1.0.5 and 1.1.0: +API changes between 1.0.5 and 2.0.0: ==================================== While allowing to build libassuan as a DSO we decided to clean up the -API. The changes are straightforward and it should obnly take a few +API. The changes are straightforward and it should only take a few minutes to fix your code. - TODO. +See the NEWS file for functions that have been renamed or replaced by +alternatives that are used in the same way (but may have extra +arguments with suitable default values or similar). The rest of this +document lists significant changes only. +There have been many macros provided now for fixed constants, you may +consider using them (but the old hard-coded values will continue to +work where applicable). Particularly noteworthy is ASSUAN_INVALID_PID +and all flags values. + +Use of libgpg-error is mandatory. + +assuan_pipe_connect child fds are now of assuan_fd_t type, not of int +type. Use assuan_fd_from_posix_fd() for conversion. If you use +assuan_pipe_connect with NAME of NULL, you have to provide a non-NULL +ARGV argument and check that against "server" or "client" to determine +which end you got after fork(). + +assuan_init_pipe_server closes the provided fds after terminating the +connection now. Use assuan_fdopen to duplicate them first. + +If you use the assuan sock interface, you must call assuan_sock_init after +setting global context defaults. + +Pth support has changed. This now follows the same style as libgcrypt +by setting system hook callbacks. |