aboutsummaryrefslogtreecommitdiffstats
path: root/cancel_async.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cancel_async.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/cancel_async.c b/cancel_async.c
new file mode 100644
index 0000000..ca2905b
--- /dev/null
+++ b/cancel_async.c
@@ -0,0 +1,12 @@
+/* See LICENSE file for copyright and license details. */
+#include "internal.h"
+
+
+gpgme_error_t
+liberror_gpgme_cancel_async(gpgme_ctx_t ctx)
+{
+ gpgme_error_t ret = gpgme_cancel_async(ctx);
+ if (ret)
+ liberror_gpgme_set_error("gpgme_cancel_async", ret);
+ return ret;
+}