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)
commit4b8e1217fc9ea7ef49ce048fc1e466d7ea568d26
tree452391f8f8e4cc38a507cf73839cdaf4014658db
parent497b0f8bd8eafe6e4fd58c7ff5c128c0f199ba43
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.
gpgme/ChangeLog
gpgme/data-stream.c
gpgme/data.c
gpgme/data.h