From: Juerg Billeter Date: Fri, 21 Mar 2008 09:56:01 +0000 (+0000) Subject: add GNOME Keyring bindings, patch by Andrea Del Signore, fixes bug 522646 X-Git-Tag: VALA_0_2_0~45 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aa2741fa535a5541b67528cf97c0078e7765385f;p=thirdparty%2Fvala.git add GNOME Keyring bindings, patch by Andrea Del Signore, fixes bug 522646 2008-03-21 Juerg Billeter * vapi/Makefile.am, vapi/gnome-keyring-1.vapi, vapi/packages/gnome-keyring-1/: add GNOME Keyring bindings, patch by Andrea Del Signore, fixes bug 522646 svn path=/trunk/; revision=1141 --- diff --git a/ChangeLog b/ChangeLog index df0892aed..6cac2bd57 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-03-21 Jürg Billeter + + * vapi/Makefile.am, vapi/gnome-keyring-1.vapi, + vapi/packages/gnome-keyring-1/: add GNOME Keyring bindings, + patch by Andrea Del Signore, fixes bug 522646 + 2008-03-20 Jürg Billeter * vala/valainterface.vala, vala/valainterfacewriter.vala, diff --git a/vapi/Makefile.am b/vapi/Makefile.am index 370702274..406ce3725 100644 --- a/vapi/Makefile.am +++ b/vapi/Makefile.am @@ -27,6 +27,7 @@ dist_vapi_DATA = \ gio-unix-2.0.vapi \ gnome-desktop-2.0.deps \ gnome-desktop-2.0.vapi \ + gnome-keyring-1.vapi \ gnome-vfs-2.0.vapi \ goocanvas.deps \ goocanvas.vapi \ diff --git a/vapi/gnome-keyring-1.vapi b/vapi/gnome-keyring-1.vapi new file mode 100644 index 000000000..94f71c21d --- /dev/null +++ b/vapi/gnome-keyring-1.vapi @@ -0,0 +1,308 @@ +/* gnome-keyring-1.vapi generated by lt-vapigen, do not modify. */ + +[CCode (cprefix = "GnomeKeyring", lower_case_cprefix = "gnome_keyring_")] +namespace GnomeKeyring { + [CCode (cprefix = "GNOME_KEYRING_ACCESS_", cheader_filename = "gnome-keyring.h")] + public enum AccessRestriction { + ASK, + DENY, + ALLOW, + } + [CCode (cprefix = "GNOME_KEYRING_ACCESS_", cheader_filename = "gnome-keyring.h")] + public enum AccessType { + READ, + WRITE, + REMOVE, + } + [CCode (cprefix = "GNOME_KEYRING_ATTRIBUTE_TYPE_", cheader_filename = "gnome-keyring.h")] + public enum AttributeType { + STRING, + UINT32, + } + [CCode (cprefix = "GNOME_KEYRING_ITEM_INFO_", cheader_filename = "gnome-keyring.h")] + public enum ItemInfoFlags { + BASICS, + SECRET, + } + [CCode (cprefix = "GNOME_KEYRING_ITEM_", cheader_filename = "gnome-keyring.h")] + public enum ItemType { + GENERIC_SECRET, + NETWORK_PASSWORD, + NOTE, + CHAINED_KEYRING_PASSWORD, + ENCRYPTION_KEY_PASSWORD, + LAST_TYPE, + } + [CCode (cprefix = "GNOME_KEYRING_RESULT_", cheader_filename = "gnome-keyring.h")] + public enum Result { + OK, + DENIED, + NO_KEYRING_DAEMON, + ALREADY_UNLOCKED, + NO_SUCH_KEYRING, + BAD_ARGUMENTS, + IO_ERROR, + CANCELLED, + KEYRING_ALREADY_EXISTS, + NO_MATCH, + } + [CCode (copy_function = "gnome_keyring_access_control_copy", cheader_filename = "gnome-keyring.h")] + public class AccessControl { + public weak GnomeKeyring.AccessControl copy (); + public AccessControl (GnomeKeyring.ApplicationRef application, GnomeKeyring.AccessType types_allowed); + } + [CCode (copy_function = "gnome_keyring_application_ref_copy", cheader_filename = "gnome-keyring.h")] + public class ApplicationRef { + public weak GnomeKeyring.ApplicationRef copy (); + public ApplicationRef (); + } + [CCode (cheader_filename = "gnome-keyring.h")] + public class Attribute { + public weak string name; + public GnomeKeyring.AttributeType type; + public pointer value; + } + [CCode (copy_function = "gnome_keyring_attribute_list_copy", cheader_filename = "gnome-keyring.h")] + public class AttributeList { + public void append_string (string name, string value); + public void append_uint32 (string name, uint value); + public weak GnomeKeyring.AttributeList copy (); + } + [CCode (cheader_filename = "gnome-keyring.h")] + public class Found { + public weak string keyring; + public uint item_id; + public weak GnomeKeyring.AttributeList attributes; + public weak string secret; + public static void list_free (GLib.List found_list); + } + [CCode (copy_function = "gnome_keyring_info_copy", cheader_filename = "gnome-keyring.h")] + public class Info { + public weak GnomeKeyring.Info copy (); + public ulong get_ctime (); + public bool get_is_locked (); + public bool get_lock_on_idle (); + public uint get_lock_timeout (); + public ulong get_mtime (); + public void set_lock_on_idle (bool value); + public void set_lock_timeout (uint value); + } + [CCode (copy_function = "gnome_keyring_item_info_copy", cheader_filename = "gnome-keyring.h")] + public class ItemInfo { + public weak GnomeKeyring.ItemInfo copy (); + public ulong get_ctime (); + public weak string get_display_name (); + public ulong get_mtime (); + public weak string get_secret (); + public ItemInfo (); + public void set_display_name (string value); + public void set_secret (string value); + public void set_type (GnomeKeyring.ItemType type); + } + [CCode (cheader_filename = "gnome-keyring.h")] + public class NetworkPasswordData { + public weak string keyring; + public uint item_id; + public weak string protocol; + public weak string server; + public weak string object; + public weak string authtype; + public uint port; + public weak string user; + public weak string domain; + public weak string password; + } + [CCode (cheader_filename = "gnome-keyring.h")] + public class PasswordSchema { + public GnomeKeyring.ItemType item_type; + [NoArrayLength] + public pointer[] attributes; + public pointer reserved1; + public pointer reserved2; + public pointer reserved3; + } + [CCode (cheader_filename = "gnome-keyring.h")] + public delegate void OperationDoneCallback (GnomeKeyring.Result result); + [CCode (cheader_filename = "gnome-keyring.h")] + public delegate void OperationGetAttributesCallback (GnomeKeyring.Result result, GnomeKeyring.AttributeList attributes); + [CCode (cheader_filename = "gnome-keyring.h")] + public delegate void OperationGetIntCallback (GnomeKeyring.Result result, uint val); + [CCode (cheader_filename = "gnome-keyring.h")] + public delegate void OperationGetItemInfoCallback (GnomeKeyring.Result result, GnomeKeyring.ItemInfo info); + [CCode (cheader_filename = "gnome-keyring.h")] + public delegate void OperationGetKeyringInfoCallback (GnomeKeyring.Result result, GnomeKeyring.Info info); + [CCode (cheader_filename = "gnome-keyring.h")] + public delegate void OperationGetListCallback (GnomeKeyring.Result result, GLib.List list); + [CCode (cheader_filename = "gnome-keyring.h")] + public delegate void OperationGetStringCallback (GnomeKeyring.Result result, string str); + public const string DEFAULT; + public const GnomeKeyring.PasswordSchema NETWORK_PASSWORD; + public const int GNOME_KEYRING_ITEM_APPLICATION_SECRET; + public const int GNOME_KEYRING_ITEM_INFO_ALL; + public const int GNOME_KEYRING_ITEM_TYPE_MASK; + public const string GNOME_KEYRING_SESSION; + [CCode (cheader_filename = "gnome-keyring.h")] + public static weak GLib.List acl_copy (GLib.List list); + [CCode (cheader_filename = "gnome-keyring.h")] + public static void acl_free (GLib.List acl); + [CCode (cheader_filename = "gnome-keyring.h")] + public static void cancel_request (pointer request); + [CCode (cheader_filename = "gnome-keyring.h")] + public static pointer change_password (string keyring, string original, string password, GnomeKeyring.OperationDoneCallback callback, GLib.DestroyNotify destroy_data); + [CCode (cheader_filename = "gnome-keyring.h")] + public static GnomeKeyring.Result change_password_sync (string keyring, string original, string password); + [CCode (cheader_filename = "gnome-keyring.h")] + public static pointer create (string keyring_name, string password, GnomeKeyring.OperationDoneCallback callback, GLib.DestroyNotify destroy_data); + [CCode (cheader_filename = "gnome-keyring.h")] + public static GnomeKeyring.Result create_sync (string keyring_name, string password); + [CCode (cheader_filename = "gnome-keyring.h")] + public static GnomeKeyring.Result daemon_prepare_environment_sync (); + [CCode (cheader_filename = "gnome-keyring.h")] + public static GnomeKeyring.Result daemon_set_display_sync (string display); + [CCode (cheader_filename = "gnome-keyring.h")] + public static pointer @delete (string keyring, GnomeKeyring.OperationDoneCallback callback, pointer data, GLib.DestroyNotify destroy_data); + [CCode (cheader_filename = "gnome-keyring.h")] + public static pointer delete_password (GnomeKeyring.PasswordSchema schema, GnomeKeyring.OperationDoneCallback callback, GLib.DestroyNotify destroy_data, ...); + [CCode (cheader_filename = "gnome-keyring.h")] + public static GnomeKeyring.Result delete_password_sync (GnomeKeyring.PasswordSchema schema, ...); + [CCode (cheader_filename = "gnome-keyring.h")] + public static GnomeKeyring.Result delete_sync (string keyring); + [CCode (cheader_filename = "gnome-keyring.h")] + public static pointer find_items (GnomeKeyring.ItemType type, GnomeKeyring.AttributeList attributes, GnomeKeyring.OperationGetListCallback callback, GLib.DestroyNotify destroy_data); + [CCode (cheader_filename = "gnome-keyring.h")] + public static GnomeKeyring.Result find_items_sync (GnomeKeyring.ItemType type, GnomeKeyring.AttributeList attributes, GLib.List found); + [CCode (cheader_filename = "gnome-keyring.h")] + public static pointer find_itemsv (GnomeKeyring.ItemType type, GnomeKeyring.OperationGetListCallback callback, GLib.DestroyNotify destroy_data, ...); + [CCode (cheader_filename = "gnome-keyring.h")] + public static GnomeKeyring.Result find_itemsv_sync (GnomeKeyring.ItemType type, GLib.List found, ...); + [CCode (cheader_filename = "gnome-keyring.h")] + public static pointer find_network_password (string user, string domain, string server, string object, string protocol, string authtype, uint port, GnomeKeyring.OperationGetListCallback callback, GLib.DestroyNotify destroy_data); + [CCode (cheader_filename = "gnome-keyring.h")] + public static GnomeKeyring.Result find_network_password_sync (string user, string domain, string server, string object, string protocol, string authtype, uint port, GLib.List results); + [CCode (cheader_filename = "gnome-keyring.h")] + public static pointer find_password (GnomeKeyring.PasswordSchema schema, GnomeKeyring.OperationGetStringCallback callback, GLib.DestroyNotify destroy_data, ...); + [CCode (cheader_filename = "gnome-keyring.h")] + public static GnomeKeyring.Result find_password_sync (GnomeKeyring.PasswordSchema schema, string password, ...); + [CCode (cheader_filename = "gnome-keyring.h")] + public static void free_password (string password); + [CCode (cheader_filename = "gnome-keyring.h")] + public static pointer get_default_keyring (GnomeKeyring.OperationGetStringCallback callback, GLib.DestroyNotify destroy_data); + [CCode (cheader_filename = "gnome-keyring.h")] + public static GnomeKeyring.Result get_default_keyring_sync (out weak string keyring); + [CCode (cheader_filename = "gnome-keyring.h")] + public static pointer get_info (string keyring, GnomeKeyring.OperationGetKeyringInfoCallback callback, GLib.DestroyNotify destroy_data); + [CCode (cheader_filename = "gnome-keyring.h")] + public static GnomeKeyring.Result get_info_sync (string keyring, out weak GnomeKeyring.Info info); + [CCode (cheader_filename = "gnome-keyring.h")] + public static bool is_available (); + [CCode (cheader_filename = "gnome-keyring.h")] + public static GnomeKeyring.AccessType item_ac_get_access_type (GnomeKeyring.AccessControl ac); + [CCode (cheader_filename = "gnome-keyring.h")] + public static weak string item_ac_get_display_name (GnomeKeyring.AccessControl ac); + [CCode (cheader_filename = "gnome-keyring.h")] + public static weak string item_ac_get_path_name (GnomeKeyring.AccessControl ac); + [CCode (cheader_filename = "gnome-keyring.h")] + public static void item_ac_set_access_type (GnomeKeyring.AccessControl ac, GnomeKeyring.AccessType value); + [CCode (cheader_filename = "gnome-keyring.h")] + public static void item_ac_set_display_name (GnomeKeyring.AccessControl ac, string value); + [CCode (cheader_filename = "gnome-keyring.h")] + public static void item_ac_set_path_name (GnomeKeyring.AccessControl ac, string value); + [CCode (cheader_filename = "gnome-keyring.h")] + public static pointer item_create (string keyring, GnomeKeyring.ItemType type, string display_name, GnomeKeyring.AttributeList attributes, string secret, bool update_if_exists, GnomeKeyring.OperationGetIntCallback callback, GLib.DestroyNotify destroy_data); + [CCode (cheader_filename = "gnome-keyring.h")] + public static GnomeKeyring.Result item_create_sync (string keyring, GnomeKeyring.ItemType type, string display_name, GnomeKeyring.AttributeList attributes, string secret, bool update_if_exists, uint item_id); + [CCode (cheader_filename = "gnome-keyring.h")] + public static pointer item_delete (string keyring, uint id, GnomeKeyring.OperationDoneCallback callback, GLib.DestroyNotify destroy_data); + [CCode (cheader_filename = "gnome-keyring.h")] + public static GnomeKeyring.Result item_delete_sync (string keyring, uint id); + [CCode (cheader_filename = "gnome-keyring.h")] + public static pointer item_get_acl (string keyring, uint id, GnomeKeyring.OperationGetListCallback callback, GLib.DestroyNotify destroy_data); + [CCode (cheader_filename = "gnome-keyring.h")] + public static GnomeKeyring.Result item_get_acl_sync (string keyring, uint id, GLib.List acl); + [CCode (cheader_filename = "gnome-keyring.h")] + public static pointer item_get_attributes (string keyring, uint id, GnomeKeyring.OperationGetAttributesCallback callback, GLib.DestroyNotify destroy_data); + [CCode (cheader_filename = "gnome-keyring.h")] + public static GnomeKeyring.Result item_get_attributes_sync (string keyring, uint id, out weak GnomeKeyring.AttributeList attributes); + [CCode (cheader_filename = "gnome-keyring.h")] + public static pointer item_get_info (string keyring, uint id, GnomeKeyring.OperationGetItemInfoCallback callback, GLib.DestroyNotify destroy_data); + [CCode (cheader_filename = "gnome-keyring.h")] + public static pointer item_get_info_full (string keyring, uint id, uint flags, GnomeKeyring.OperationGetItemInfoCallback callback, GLib.DestroyNotify destroy_data); + [CCode (cheader_filename = "gnome-keyring.h")] + public static GnomeKeyring.Result item_get_info_full_sync (string keyring, uint id, uint flags, out weak GnomeKeyring.ItemInfo info); + [CCode (cheader_filename = "gnome-keyring.h")] + public static GnomeKeyring.Result item_get_info_sync (string keyring, uint id, out weak GnomeKeyring.ItemInfo info); + [CCode (cheader_filename = "gnome-keyring.h")] + public static pointer item_grant_access_rights (string keyring, string display_name, string full_path, uint id, GnomeKeyring.AccessType rights, GnomeKeyring.OperationDoneCallback callback, GLib.DestroyNotify destroy_data); + [CCode (cheader_filename = "gnome-keyring.h")] + public static GnomeKeyring.Result item_grant_access_rights_sync (string keyring, string display_name, string full_path, uint id, GnomeKeyring.AccessType rights); + [CCode (cheader_filename = "gnome-keyring.h")] + public static pointer item_set_acl (string keyring, uint id, GLib.List acl, GnomeKeyring.OperationDoneCallback callback, GLib.DestroyNotify destroy_data); + [CCode (cheader_filename = "gnome-keyring.h")] + public static GnomeKeyring.Result item_set_acl_sync (string keyring, uint id, GLib.List acl); + [CCode (cheader_filename = "gnome-keyring.h")] + public static pointer item_set_attributes (string keyring, uint id, GnomeKeyring.AttributeList attributes, GnomeKeyring.OperationDoneCallback callback, GLib.DestroyNotify destroy_data); + [CCode (cheader_filename = "gnome-keyring.h")] + public static GnomeKeyring.Result item_set_attributes_sync (string keyring, uint id, GnomeKeyring.AttributeList attributes); + [CCode (cheader_filename = "gnome-keyring.h")] + public static pointer item_set_info (string keyring, uint id, GnomeKeyring.ItemInfo info, GnomeKeyring.OperationDoneCallback callback, GLib.DestroyNotify destroy_data); + [CCode (cheader_filename = "gnome-keyring.h")] + public static GnomeKeyring.Result item_set_info_sync (string keyring, uint id, GnomeKeyring.ItemInfo info); + [CCode (cheader_filename = "gnome-keyring.h")] + public static pointer list_item_ids (string keyring, GnomeKeyring.OperationGetListCallback callback, GLib.DestroyNotify destroy_data); + [CCode (cheader_filename = "gnome-keyring.h")] + public static GnomeKeyring.Result list_item_ids_sync (string keyring, GLib.List ids); + [CCode (cheader_filename = "gnome-keyring.h")] + public static pointer list_keyring_names (GnomeKeyring.OperationGetListCallback callback, GLib.DestroyNotify destroy_data); + [CCode (cheader_filename = "gnome-keyring.h")] + public static GnomeKeyring.Result list_keyring_names_sync (GLib.List keyrings); + [CCode (cheader_filename = "gnome-keyring.h")] + public static pointer @lock (string keyring, GnomeKeyring.OperationDoneCallback callback, pointer data, GLib.DestroyNotify destroy_data); + [CCode (cheader_filename = "gnome-keyring.h")] + public static pointer lock_all (GnomeKeyring.OperationDoneCallback callback, GLib.DestroyNotify destroy_data); + [CCode (cheader_filename = "gnome-keyring.h")] + public static GnomeKeyring.Result lock_all_sync (); + [CCode (cheader_filename = "gnome-keyring.h")] + public static GnomeKeyring.Result lock_sync (string keyring); + [CCode (cheader_filename = "gnome-keyring.h")] + public static pointer memory_alloc (ulong sz); + [CCode (cheader_filename = "gnome-keyring.h")] + public static void memory_free (pointer p); + [CCode (cheader_filename = "gnome-keyring.h")] + public static bool memory_is_secure (pointer p); + [CCode (cheader_filename = "gnome-keyring.h")] + public static pointer memory_realloc (pointer p, ulong sz); + [CCode (cheader_filename = "gnome-keyring.h")] + public static weak string memory_strdup (string str); + [CCode (cheader_filename = "gnome-keyring.h")] + public static pointer memory_try_alloc (ulong sz); + [CCode (cheader_filename = "gnome-keyring.h")] + public static pointer memory_try_realloc (pointer p, ulong sz); + [CCode (cheader_filename = "gnome-keyring.h")] + public static void network_password_free (GnomeKeyring.NetworkPasswordData data); + [CCode (cheader_filename = "gnome-keyring.h")] + public static void network_password_list_free (GLib.List list); + [CCode (cheader_filename = "gnome-keyring.h")] + public static weak string result_to_message (GnomeKeyring.Result res); + [CCode (cheader_filename = "gnome-keyring.h")] + public static pointer set_default_keyring (string keyring, GnomeKeyring.OperationDoneCallback callback, GLib.DestroyNotify destroy_data); + [CCode (cheader_filename = "gnome-keyring.h")] + public static GnomeKeyring.Result set_default_keyring_sync (string keyring); + [CCode (cheader_filename = "gnome-keyring.h")] + public static pointer set_info (string keyring, GnomeKeyring.Info info, GnomeKeyring.OperationDoneCallback callback, GLib.DestroyNotify destroy_data); + [CCode (cheader_filename = "gnome-keyring.h")] + public static GnomeKeyring.Result set_info_sync (string keyring, GnomeKeyring.Info info); + [CCode (cheader_filename = "gnome-keyring.h")] + public static pointer set_network_password (string keyring, string user, string domain, string server, string object, string protocol, string authtype, uint port, string password, GnomeKeyring.OperationGetIntCallback callback, GLib.DestroyNotify destroy_data); + [CCode (cheader_filename = "gnome-keyring.h")] + public static GnomeKeyring.Result set_network_password_sync (string keyring, string user, string domain, string server, string object, string protocol, string authtype, uint port, string password, uint item_id); + [CCode (cheader_filename = "gnome-keyring.h")] + public static pointer store_password (GnomeKeyring.PasswordSchema schema, string keyring, string display_name, string password, GnomeKeyring.OperationDoneCallback callback, GLib.DestroyNotify destroy_data, ...); + [CCode (cheader_filename = "gnome-keyring.h")] + public static GnomeKeyring.Result store_password_sync (GnomeKeyring.PasswordSchema schema, string keyring, string display_name, string password, ...); + [CCode (cheader_filename = "gnome-keyring.h")] + public static void string_list_free (GLib.List strings); + [CCode (cheader_filename = "gnome-keyring.h")] + public static pointer unlock (string keyring, string password, GnomeKeyring.OperationDoneCallback callback, GLib.DestroyNotify destroy_data); + [CCode (cheader_filename = "gnome-keyring.h")] + public static GnomeKeyring.Result unlock_sync (string keyring, string password); +} diff --git a/vapi/packages/gnome-keyring-1/gnome-keyring-1-custom.vala b/vapi/packages/gnome-keyring-1/gnome-keyring-1-custom.vala new file mode 100644 index 000000000..d3fe38a37 --- /dev/null +++ b/vapi/packages/gnome-keyring-1/gnome-keyring-1-custom.vala @@ -0,0 +1,5 @@ +namespace GnomeKeyring +{ + public const string DEFAULT; + public const weak GnomeKeyring.PasswordSchema NETWORK_PASSWORD; +} diff --git a/vapi/packages/gnome-keyring-1/gnome-keyring-1.files b/vapi/packages/gnome-keyring-1/gnome-keyring-1.files new file mode 100644 index 000000000..9f9745739 --- /dev/null +++ b/vapi/packages/gnome-keyring-1/gnome-keyring-1.files @@ -0,0 +1 @@ +include/gnome-keyring-1/ diff --git a/vapi/packages/gnome-keyring-1/gnome-keyring-1.gi b/vapi/packages/gnome-keyring-1/gnome-keyring-1.gi new file mode 100644 index 000000000..d23683aad --- /dev/null +++ b/vapi/packages/gnome-keyring-1/gnome-keyring-1.gi @@ -0,0 +1,1004 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vapi/packages/gnome-keyring-1/gnome-keyring-1.metadata b/vapi/packages/gnome-keyring-1/gnome-keyring-1.metadata new file mode 100644 index 000000000..e0f3a5ced --- /dev/null +++ b/vapi/packages/gnome-keyring-1/gnome-keyring-1.metadata @@ -0,0 +1,47 @@ +#Simple password api +gnome_keyring_store_password ellipsis="1" +gnome_keyring_store_password.data hidden="1" +gnome_keyring_store_password_sync ellipsis="1" +gnome_keyring_find_password ellipsis="1" +gnome_keyring_find_password.data hidden="1" +gnome_keyring_find_password_sync ellipsis="1" +gnome_keyring_delete_password ellipsis="1" +gnome_keyring_delete_password ellipsis="1" +gnome_keyring_delete_password.data hidden="1" +gnome_keyring_delete_password_sync ellipsis="1" + +#keyrings +gnome_keyring_@lock.data hidden="1" +gnome_keyring_lock_all.data hidden="1" +gnome_keyring_set_default_keyring.data hidden="1" +gnome_keyring_set_info.data hidden="1" +gnome_keyring_unlock.data hidden="1" +gnome_keyring_get_default_keyring.data hidden="1" +gnome_keyring_get_info.data hidden="1" +gnome_keyring_change_password.data hidden="1" +gnome_keyring_create.data hidden="1" +gnome_keyring_@delete.data hidden="1" +gnome_keyring_list_item_ids.data hidden="1" +gnome_keyring_list_keyring_names.data hidden="1" + +#find item api +gnome_keyring_find_items.data hidden="1" +gnome_keyring_find_itemsv ellipsis="1" +gnome_keyring_find_itemsv.data hidden="1" +gnome_keyring_find_itemsv_sync ellipsis="1" + +#network-item api +gnome_keyring_set_network_password.data hidden="1" +gnome_keyring_find_network_password.data hidden="1" + +#item api +gnome_keyring_item_create.data hidden="1" +gnome_keyring_item_delete.data hidden="1" +gnome_keyring_item_get_acl.data hidden="1" +gnome_keyring_item_get_attributes.data hidden="1" +gnome_keyring_item_get_info.data hidden="1" +gnome_keyring_item_get_info_full.data hidden="1" +gnome_keyring_item_grant_access_rights.data hidden="1" +gnome_keyring_item_set_acl.data hidden="1" +gnome_keyring_item_set_attributes.data hidden="1" +gnome_keyring_item_set_info.data hidden="1" diff --git a/vapi/packages/gnome-keyring-1/gnome-keyring-1.namespace b/vapi/packages/gnome-keyring-1/gnome-keyring-1.namespace new file mode 100644 index 000000000..1543bab0c --- /dev/null +++ b/vapi/packages/gnome-keyring-1/gnome-keyring-1.namespace @@ -0,0 +1 @@ +GnomeKeyring