diff options
author | fiaxh <git@mx.ax.lt> | 2017-03-11 12:13:06 +0100 |
---|---|---|
committer | fiaxh <git@mx.ax.lt> | 2017-03-11 12:22:55 +0100 |
commit | 47ab19b3a06b6f96965482e4a33d443c2276c1d8 (patch) | |
tree | f6616e248a92b707269eda6a396c94180687dc45 /gpgme-vala/vapi | |
parent | 7bb6ff6250e7bfc1f5d8ee4cc5d49c7aaf5ac435 (diff) | |
download | dino-47ab19b3a06b6f96965482e4a33d443c2276c1d8.tar.gz dino-47ab19b3a06b6f96965482e4a33d443c2276c1d8.zip |
UI to choose PGP key/disabled in account settings
Diffstat (limited to 'gpgme-vala/vapi')
-rw-r--r-- | gpgme-vala/vapi/gpgme.vapi | 2 | ||||
-rw-r--r-- | gpgme-vala/vapi/gpgme_public.vapi | 9 |
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")] |