Home GnuPG

Add assuan_sock_set_flag and assuan_sock_get_flag.
87def94c86d5Unpublished

Unpublished Commit · Learn More

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

Description

Add assuan_sock_set_flag and assuan_sock_get_flag.

* src/assuan-socket.c (_assuan_sock_set_flag): New.
(assuan_sock_set_flag): New.
(_assuan_sock_get_flag, assuan_sock_get_flag): New.
* src/assuan.h.in (assuan_sock_set_flag): New.
(assuan_sock_get_flag): New.
* src/libassuan.def: Add them.
* src/libassuan.vers: Add them.

These new functions are intended for a Cygwin socket emulation. This
commit merely introduces a generic framework.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jun 30 2015, 4:03 PM
Parents
rAcd8face27cc9: Return GPG_ERR_SOURCE_ASSUAN on errors with no CTX.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rA87def94c86d5: Add assuan_sock_set_flag and assuan_sock_get_flag. (authored by Werner Koch <wk@gnupg.org>).Jun 30 2015, 4:03 PM