summaryrefslogtreecommitdiff
path: root/src/data.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/data.h')
-rw-r--r--src/data.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/data.h b/src/data.h
index 3d404af..0a15b61 100644
--- a/src/data.h
+++ b/src/data.h
@@ -89,6 +89,9 @@ struct gpgme_data
/* File name of the data object. */
char *file_name;
+ /* Hint on the to be expected toatl size of the data. */
+ gpgme_off_t size_hint;
+
union
{
/* For gpgme_data_new_from_fd. */
@@ -134,4 +137,7 @@ void _gpgme_data_release (gpgme_data_t dh);
return -1. */
int _gpgme_data_get_fd (gpgme_data_t dh);
+/* Get the size-hint value for DH or 0 if not available. */
+gpgme_off_t _gpgme_data_get_size_hint (gpgme_data_t dh);
+
#endif /* DATA_H */