aboutsummaryrefslogtreecommitdiffstats
path: root/conf_arg_new.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2019-04-18 14:50:05 +0200
committerMattias Andrée <maandree@kth.se>2019-04-18 14:50:05 +0200
commit1166ccd674f398b02b6ef28f8032f83720235e77 (patch)
tree72a87c1ee7185cc66bc748a30e3c3af8a4eda015 /conf_arg_new.c
downloadliberror-gpgme-1166ccd674f398b02b6ef28f8032f83720235e77.tar.gz
liberror-gpgme-1166ccd674f398b02b6ef28f8032f83720235e77.tar.bz2
liberror-gpgme-1166ccd674f398b02b6ef28f8032f83720235e77.tar.xz
First commit
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--conf_arg_new.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/conf_arg_new.c b/conf_arg_new.c
new file mode 100644
index 0000000..577677e
--- /dev/null
+++ b/conf_arg_new.c
@@ -0,0 +1,12 @@
+/* See LICENSE file for copyright and license details. */
+#include "internal.h"
+
+
+gpgme_error_t
+liberror_gpgme_conf_arg_new(gpgme_conf_arg_t *arg_p, gpgme_conf_type_t type, const void *value)
+{
+ gpgme_error_t ret = gpgme_conf_arg_new(arg_p, type, value);
+ if (ret)
+ liberror_gpgme_set_error("gpgme_conf_arg_new", ret);
+ return ret;
+}