2004-09-23 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Thu, 23 Sep 2004 17:54:26 +0000 (17:54 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Thu, 23 Sep 2004 17:54:26 +0000 (17:54 +0000)
commit6ec821677e9380f8a71cd97305791c96361162f3
tree401d8e9944fc715b37600439c0ed3d3dac53695c
parent01ba4da16f65d28702027f8a4aaa094ae986a1d4
2004-09-23  Marcus Brinkmann  <marcus@g10code.de>

* data-stream.c (stream_seek): Call ftello and return the current
offset.
* data.h (struct gpgme_data): Change type of data.mem.offset to
off_t.
* data.c (gpgme_data_seek): Check dh->cbs->seek callback, not read
callback.  If SEEK_CUR, adjust the offset by the pending buffer
size.  Clear pending buffer on success.
trunk/gpgme/ChangeLog
trunk/gpgme/data-stream.c
trunk/gpgme/data.c
trunk/gpgme/data.h