aboutsummaryrefslogtreecommitdiff
path: root/gpgme-vala/vapi
diff options
context:
space:
mode:
Diffstat (limited to 'gpgme-vala/vapi')
-rw-r--r--gpgme-vala/vapi/gpgme.vapi2
-rw-r--r--gpgme-vala/vapi/gpgme_public.vapi9
2 files changed, 6 insertions, 5 deletions
diff --git a/gpgme-vala/vapi/gpgme.vapi b/gpgme-vala/vapi/gpgme.vapi
index 8393dca4..8c942f4b 100644
--- a/gpgme-vala/vapi/gpgme.vapi
+++ b/gpgme-vala/vapi/gpgme.vapi
@@ -24,7 +24,7 @@
[CCode (lower_case_cprefix = "gpgme_", cheader_filename = "gpgme.h")]
namespace GPG {
- [CCode (cheader_filename = "fix.h")]
+ [CCode (cheader_filename = "gpgme_fix.h")]
public static GLib.RecMutex global_mutex;
[CCode (cname = "struct _gpgme_engine_info")]
diff --git a/gpgme-vala/vapi/gpgme_public.vapi b/gpgme-vala/vapi/gpgme_public.vapi
index 86963025..942839ac 100644
--- a/gpgme-vala/vapi/gpgme_public.vapi
+++ b/gpgme-vala/vapi/gpgme_public.vapi
@@ -1,11 +1,11 @@
-[CCode (lower_case_cprefix = "gpgme_", cheader_filename = "gpgme.h")]
+[CCode (lower_case_cprefix = "gpgme_", cheader_filename = "gpgme.h,gpgme_fix.h")]
namespace GPG {
[CCode (cname = "gpgme_check_version")]
public unowned string check_version(string? required_version = null);
[Compact]
-[CCode (cname = "struct _gpgme_key", ref_function = "gpgme_key_ref", ref_function_void = true, unref_function = "gpgme_key_unref", free_function = "gpgme_key_release")]
+[CCode (cname = "struct _gpgme_key", ref_function = "gpgme_key_ref_vapi", unref_function = "gpgme_key_unref_vapi", free_function = "gpgme_key_release")]
public class Key {
public bool revoked;
public bool expired;
@@ -14,19 +14,20 @@ public class Key {
public bool can_encrypt;
public bool can_sign;
public bool can_certify;
- public bool secret;
public bool can_authenticate;
public bool is_qualified;
+ public bool secret;
public Protocol protocol;
public string issuer_serial;
public string issuer_name;
- public string issuer_id;
+ public string chain_id;
public Validity owner_trust;
[CCode(array_null_terminated = true)]
public SubKey[] subkeys;
[CCode(array_null_terminated = true)]
public UserID[] uids;
public KeylistMode keylist_mode;
+ public string fpr;
}
[CCode (cname = "struct _gpgme_user_id")]