common: New put_membuf_cb to replace static membuf_data_cb.
authorWerner Koch <wk@gnupg.org>
Fri, 8 Jan 2016 05:33:27 +0000 (06:33 +0100)
committerWerner Koch <wk@gnupg.org>
Fri, 8 Jan 2016 05:33:27 +0000 (06:33 +0100)
commit833ba5faa1340aff80a205acbb701d4ae1d594d0
treeaca806cf5e2c3a262f3d295f313243c7f1c10f0d
parent8fd406c317ad7c2e375ae4f7d20656dadf6d7fcc
common: New put_membuf_cb to replace static membuf_data_cb.

* common/membuf.c (put_membuf_cb): New.
* agent/call-scd.c (membuf_data_cb): Remove.  Change callers to use
put_membuf_cb.
* common/get-passphrase.c (membuf_data_cb): Ditto.
* g10/call-agent.c (membuf_data_cb): Ditto.
* sm/call-agent.c (membuf_data_cb): Ditto.
--

Signed-off-by: Werner Koch <wk@gnupg.org>
agent/call-scd.c
common/get-passphrase.c
common/membuf.c
common/membuf.h
g10/call-agent.c
sm/call-agent.c