|
Packit Service |
cbd1e2 |
README.apichanges -*- text -*-
|
|
Packit Service |
cbd1e2 |
|
|
Packit Service |
cbd1e2 |
API changes between 1.0.5 and 2.0.0:
|
|
Packit Service |
cbd1e2 |
====================================
|
|
Packit Service |
cbd1e2 |
|
|
Packit Service |
cbd1e2 |
While allowing to build libassuan as a DSO we decided to clean up the
|
|
Packit Service |
cbd1e2 |
API. The changes are straightforward and it should only take a few
|
|
Packit Service |
cbd1e2 |
minutes to fix your code.
|
|
Packit Service |
cbd1e2 |
|
|
Packit Service |
cbd1e2 |
See the NEWS file for functions that have been renamed or replaced by
|
|
Packit Service |
cbd1e2 |
alternatives that are used in the same way (but may have extra
|
|
Packit Service |
cbd1e2 |
arguments with suitable default values or similar). The rest of this
|
|
Packit Service |
cbd1e2 |
document lists significant changes only.
|
|
Packit Service |
cbd1e2 |
|
|
Packit Service |
cbd1e2 |
There have been many macros provided now for fixed constants, you may
|
|
Packit Service |
cbd1e2 |
consider using them (but the old hard-coded values will continue to
|
|
Packit Service |
cbd1e2 |
work where applicable). Particularly noteworthy is ASSUAN_INVALID_PID
|
|
Packit Service |
cbd1e2 |
and all flags values.
|
|
Packit Service |
cbd1e2 |
|
|
Packit Service |
cbd1e2 |
Use of libgpg-error is mandatory.
|
|
Packit Service |
cbd1e2 |
|
|
Packit Service |
cbd1e2 |
assuan_pipe_connect child fds are now of assuan_fd_t type, not of int
|
|
Packit Service |
cbd1e2 |
type. Use assuan_fd_from_posix_fd() for conversion. If you use
|
|
Packit Service |
cbd1e2 |
assuan_pipe_connect with NAME of NULL, you have to provide a non-NULL
|
|
Packit Service |
cbd1e2 |
ARGV argument and check that against "server" or "client" to determine
|
|
Packit Service |
cbd1e2 |
which end you got after fork().
|
|
Packit Service |
cbd1e2 |
|
|
Packit Service |
cbd1e2 |
assuan_init_pipe_server closes the provided fds after terminating the
|
|
Packit Service |
cbd1e2 |
connection now. Use assuan_fdopen to duplicate them first.
|
|
Packit Service |
cbd1e2 |
|
|
Packit Service |
cbd1e2 |
If you use the assuan sock interface, you must call assuan_sock_init after
|
|
Packit Service |
cbd1e2 |
setting global context defaults.
|
|
Packit Service |
cbd1e2 |
|
|
Packit Service |
cbd1e2 |
Pth support has changed. This now follows the same style as libgcrypt
|
|
Packit Service |
cbd1e2 |
by setting system hook callbacks.
|