Home GnuPG
Diffusion GnuPG 15ae99f887f4

common/iobuf.c: Combine iobuf_open, iobuf_create and iobuf_openrw.
15ae99f887f4Unpublished

Unpublished Commit ยท Learn More

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

Description

common/iobuf.c: Combine iobuf_open, iobuf_create and iobuf_openrw.

* common/iobuf.c (do_open): New function, which is a generalization of
iobuf_open, iobuf_Create, iobuf_openrw.
(iobuf_open): Call do_open.
(iobuf_create): Likewise.
(iobuf_openrw): Likewise.
  • Signed-off-by: Neal H. Walfield <neal@g10code.com>.

Details

Provenance
Neal H. Walfield <neal@g10code.com>Authored on Aug 14 2015, 11:18 AM
Parents
rG8402815d8e0e: common/iobuf.h: Remove iobuf_open_fd_or_name.
Branches
Unknown
Tags
Unknown

Event Timeline

Neal H. Walfield <neal@g10code.com> committed rG15ae99f887f4: common/iobuf.c: Combine iobuf_open, iobuf_create and iobuf_openrw. (authored by Neal H. Walfield <neal@g10code.com>).Aug 20 2015, 2:16 PM