summaryrefslogtreecommitdiff
path: root/lang/cpp/src/data.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lang/cpp/src/data.cpp')
-rw-r--r--lang/cpp/src/data.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/lang/cpp/src/data.cpp b/lang/cpp/src/data.cpp
index 52b8da2..2782aa7 100644
--- a/lang/cpp/src/data.cpp
+++ b/lang/cpp/src/data.cpp
@@ -232,6 +232,11 @@ off_t GpgME::Data::seek(off_t offset, int whence)
return gpgme_data_seek(d->data, offset, whence);
}
+GpgME::Error GpgME::Data::rewind()
+{
+ return Error(gpgme_data_rewind(d->data));
+}
+
std::vector<GpgME::Key> GpgME::Data::toKeys(Protocol proto) const
{
std::vector<GpgME::Key> ret;