diff options
Diffstat (limited to 'data_new_from_fd.c')
-rw-r--r-- | data_new_from_fd.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/data_new_from_fd.c b/data_new_from_fd.c new file mode 100644 index 0000000..0c4346d --- /dev/null +++ b/data_new_from_fd.c @@ -0,0 +1,12 @@ +/* See LICENSE file for copyright and license details. */ +#include "internal.h" + + +gpgme_error_t +liberror_gpgme_data_new_from_fd(gpgme_data_t *dh, int fd) +{ + gpgme_error_t ret = gpgme_data_new_from_fd(dh, fd); + if (ret) + liberror_gpgme_set_error("gpgme_data_new_from_fd", ret); + return ret; +} |