Diffusion GPGME 92883efe7176

core: Introduce a context serial number.

Authored by werner on Jun 7 2019, 12:10 PM.

Description

core: Introduce a context serial number.

* src/context.h: Include stdint.h.
(struct gpgme_context): Add field 'serial'.
(CTXSERIAL): New.
* src/gpgme.c: (last_ctx_serial): New.
(gpgme_new): Set serial.
* src/gpgme.c: Change trace calls to use the serial.
* src/wait.c (_gpgme_add_io_cb): Ditto
(_gpgme_remove_io_cb): Ditto.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Committed
wernerJun 7 2019, 12:10 PM
Parents
rM52d8ed8dfb91: core: Replace the posix close notify mechanism by a new generic one.
Branches
Unknown
Tags
Unknown