aboutsummaryrefslogtreecommitdiffstats
path: root/data_set_flag.c
diff options
context:
space:
mode:
Diffstat (limited to 'data_set_flag.c')
-rw-r--r--data_set_flag.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/data_set_flag.c b/data_set_flag.c
new file mode 100644
index 0000000..6c0f2d1
--- /dev/null
+++ b/data_set_flag.c
@@ -0,0 +1,12 @@
+/* See LICENSE file for copyright and license details. */
+#include "internal.h"
+
+
+gpgme_error_t
+liberror_gpgme_data_set_flag(gpgme_data_t dh, const char *name, const char *value)
+{
+ gpgme_error_t ret = gpgme_data_set_flag(dh, name, value);
+ if (ret)
+ liberror_gpgme_set_error("gpgme_data_set_flag", ret);
+ return ret;
+}