estream: New function es_fclose_snatch.
authorWerner Koch <wk@gnupg.org>
Thu, 15 Dec 2011 13:45:08 +0000 (14:45 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 15 Dec 2011 13:45:08 +0000 (14:45 +0100)
commit7737a2c269657189a583cde7f214f20871d264f8
tree62a24b310079f260a8383eebd821bee09109c972
parent792e137ec7997a0ff5c54ff970611238d28d4ba8
estream: New function es_fclose_snatch.

* common/estream.c (cookie_ioctl_function_t): New type.
(es_fclose_snatch): New function.
(COOKIE_IOCTL_SNATCH_BUFFER): New constant.
(struct estream_internal): Add field FUNC_IOCTL.
(es_initialize): Clear FUNC_IOCTL.
(es_func_mem_ioctl): New function.
(es_fopenmem, es_fopenmem_init): Init FUNC_IOCTL.
common/estream.c
common/estream.h