Browse Source

mconn-crypt.vapi: add VAPI for mconn-crypt

Add hand crafted VAPI for mconn-crypt based on autogenerated version.
bboozzoo/namespace-cleanup
Maciek Borzecki 9 years ago
parent
commit
125e89aea2
1 changed files with 13 additions and 0 deletions
  1. +13
    -0
      mconn-crypt.vapi

+ 13
- 0
mconn-crypt.vapi View File

@ -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 ();
}
}

Loading…
Cancel
Save