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>