tests/gpgscm: Expose function to open streams as Scheme ports.
authorJustus Winter <justus@g10code.com>
Fri, 22 Jan 2016 10:15:20 +0000 (11:15 +0100)
committerJustus Winter <justus@g10code.com>
Fri, 17 Jun 2016 09:38:00 +0000 (11:38 +0200)
commit55275b8e2b43a3420d85a1a931e02febaa1113e7
treefdde08017475641963eca6b13d531e2eb42ec0f4
parent13bba1357478815a85f5c0db3607ebb6cd574f56
tests/gpgscm: Expose function to open streams as Scheme ports.

* tests/gpgscm/scheme.c (vtbl): Add 'port_from_file' to the vtable.
* tests/gpgscm/scheme.h (struct scheme_interface): New field
'mk_port_from_file'.

Signed-off-by: Justus Winter <justus@g10code.com>
tests/gpgscm/scheme.c
tests/gpgscm/scheme.h