diff options
Diffstat (limited to '')
| -rw-r--r-- | src/data.h | 6 | 
1 files changed, 6 insertions, 0 deletions
| @@ -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 */ | 
