gpgscm: Expose seek and associated constants.
authorJustus Winter <justus@g10code.com>
Tue, 8 Nov 2016 14:11:12 +0000 (15:11 +0100)
committerJustus Winter <justus@g10code.com>
Tue, 8 Nov 2016 15:02:55 +0000 (16:02 +0100)
commit591d61d80f4f81176f7e236df794922df9e001a1
treec95abd7b3e052f25aa1ebbf2a83769275e6756c6
parentd4454837cd60981c2863955b11c9e1cc8f9e3833
gpgscm: Expose seek and associated constants.

* tests/gpgscm/ffi.c (do_seek): New function.
(ffi_init): Expose 'seek' and 'SEEK_{SET,CUR,END}'.
* tests/gpgscm/lib.scm: Document the new function.

Signed-off-by: Justus Winter <justus@g10code.com>
tests/gpgscm/ffi.c
tests/gpgscm/lib.scm