Home GnuPG
Diffusion GPGME 92883efe7176

core: Introduce a context serial number.
92883efe7176Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

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

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