From 125e89aea29ce9add218d68306f3d03fae1be81f Mon Sep 17 00:00:00 2001 From: Maciek Borzecki Date: Sun, 1 Nov 2015 19:52:02 +0100 Subject: [PATCH] mconn-crypt.vapi: add VAPI for mconn-crypt Add hand crafted VAPI for mconn-crypt based on autogenerated version. --- mconn-crypt.vapi | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 mconn-crypt.vapi diff --git a/mconn-crypt.vapi b/mconn-crypt.vapi new file mode 100644 index 0000000..1c7e218 --- /dev/null +++ b/mconn-crypt.vapi @@ -0,0 +1,13 @@ +namespace Mconn { + [CCode (cheader_filename = "mconn-crypt.h", type_id = "mconn_crypt_get_type ()")] + public class Crypt : GLib.Object { + [CCode (has_construct_function = false)] + protected Crypt (); + public GLib.ByteArray decrypt (GLib.Bytes data) throws GLib.Error; + [CCode (has_construct_function = false)] + public Crypt.for_key_path (string path); + public string get_public_key_pem (); + public unowned Mconn.Crypt @ref (); + public void unref (); + } +}