]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gnome-keyring-1: add missing type_arguments
authorEvan Nemerson <evan@coeus-group.com>
Sun, 16 May 2010 04:26:25 +0000 (21:26 -0700)
committerEvan Nemerson <evan@coeus-group.com>
Sun, 16 May 2010 04:55:39 +0000 (21:55 -0700)
vapi/gnome-keyring-1.vapi
vapi/packages/gnome-keyring-1/gnome-keyring-1.metadata

index cd37c2bad61dcc9b6cb8d69168e75f5e30688a1a..67a3a0534712f72c855952b14877242041b0c89c 100644 (file)
@@ -35,7 +35,6 @@ namespace GnomeKeyring {
                public uint item_id;
                public weak string keyring;
                public weak string secret;
-               public static void list_free (GLib.List found_list);
        }
        [Compact]
        [CCode (copy_function = "gnome_keyring_info_copy", cheader_filename = "gnome-keyring.h")]
@@ -151,7 +150,7 @@ namespace GnomeKeyring {
        [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);
+       public delegate void OperationGetListCallback (GnomeKeyring.Result result, GLib.List<GnomeKeyring.NetworkPasswordData> list);
        [CCode (cheader_filename = "gnome-keyring.h")]
        public delegate void OperationGetStringCallback (GnomeKeyring.Result result, string str);
        [CCode (cheader_filename = "gnome-keyring.h")]
@@ -161,9 +160,7 @@ namespace GnomeKeyring {
        [CCode (cheader_filename = "gnome-keyring.h")]
        public const string SESSION;
        [CCode (cheader_filename = "gnome-keyring.h")]
-       public static unowned GLib.List acl_copy (GLib.List list);
-       [CCode (cheader_filename = "gnome-keyring.h")]
-       public static void acl_free (GLib.List acl);
+       public static GLib.List<GnomeKeyring.AccessControl> acl_copy (GLib.List<GnomeKeyring.AccessControl> list);
        [CCode (cheader_filename = "gnome-keyring.h")]
        public static void cancel_request (void* request);
        [CCode (cheader_filename = "gnome-keyring.h")]
@@ -189,15 +186,15 @@ namespace GnomeKeyring {
        [CCode (cheader_filename = "gnome-keyring.h")]
        public static void* find_items (GnomeKeyring.ItemType type, GnomeKeyring.AttributeList attributes, owned GnomeKeyring.OperationGetListCallback callback);
        [CCode (cheader_filename = "gnome-keyring.h")]
-       public static GnomeKeyring.Result find_items_sync (GnomeKeyring.ItemType type, GnomeKeyring.AttributeList attributes, out GLib.List found);
+       public static GnomeKeyring.Result find_items_sync (GnomeKeyring.ItemType type, GnomeKeyring.AttributeList attributes, out GLib.List<GnomeKeyring.Found> found);
        [CCode (cheader_filename = "gnome-keyring.h")]
        public static void* find_itemsv (GnomeKeyring.ItemType type, owned GnomeKeyring.OperationGetListCallback callback, ...);
        [CCode (cheader_filename = "gnome-keyring.h")]
-       public static GnomeKeyring.Result find_itemsv_sync (GnomeKeyring.ItemType type, out GLib.List found, ...);
+       public static GnomeKeyring.Result find_itemsv_sync (GnomeKeyring.ItemType type, out GLib.List<GnomeKeyring.Found> found, ...);
        [CCode (cheader_filename = "gnome-keyring.h")]
        public static void* find_network_password (string? user, string? domain, string? server, string? object, string? protocol, string? authtype, uint32 port, owned GnomeKeyring.OperationGetListCallback callback);
        [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, uint32 port, out unowned GLib.List results);
+       public static GnomeKeyring.Result find_network_password_sync (string? user, string? domain, string? server, string? object, string? protocol, string? authtype, uint32 port, out GLib.List<GnomeKeyring.NetworkPasswordData> results);
        [CCode (cheader_filename = "gnome-keyring.h")]
        public static void* find_password (GnomeKeyring.PasswordSchema schema, owned GnomeKeyring.OperationGetStringCallback callback, ...);
        [CCode (cheader_filename = "gnome-keyring.h")]
@@ -237,7 +234,7 @@ namespace GnomeKeyring {
        [CCode (cheader_filename = "gnome-keyring.h")]
        public static void* item_get_acl (string? keyring, uint32 id, owned GnomeKeyring.OperationGetListCallback callback);
        [CCode (cheader_filename = "gnome-keyring.h")]
-       public static GnomeKeyring.Result item_get_acl_sync (string? keyring, uint32 id, out GLib.List acl);
+       public static GnomeKeyring.Result item_get_acl_sync (string? keyring, uint32 id, out GLib.List<GnomeKeyring.AccessControl> acl);
        [CCode (cheader_filename = "gnome-keyring.h")]
        public static void* item_get_attributes (string? keyring, uint32 id, owned GnomeKeyring.OperationGetAttributesCallback callback);
        [CCode (cheader_filename = "gnome-keyring.h")]
@@ -255,9 +252,9 @@ namespace GnomeKeyring {
        [CCode (cheader_filename = "gnome-keyring.h")]
        public static GnomeKeyring.Result item_grant_access_rights_sync (string? keyring, string display_name, string full_path, uint32 id, GnomeKeyring.AccessType rights);
        [CCode (cheader_filename = "gnome-keyring.h")]
-       public static void* item_set_acl (string? keyring, uint32 id, GLib.List acl, owned GnomeKeyring.OperationDoneCallback callback);
+       public static void* item_set_acl (string? keyring, uint32 id, GLib.List<GnomeKeyring.AccessControl> acl, owned GnomeKeyring.OperationDoneCallback callback);
        [CCode (cheader_filename = "gnome-keyring.h")]
-       public static GnomeKeyring.Result item_set_acl_sync (string? keyring, uint32 id, GLib.List acl);
+       public static GnomeKeyring.Result item_set_acl_sync (string? keyring, uint32 id, GLib.List<GnomeKeyring.AccessControl> acl);
        [CCode (cheader_filename = "gnome-keyring.h")]
        public static void* item_set_attributes (string? keyring, uint32 id, GnomeKeyring.AttributeList attributes, owned GnomeKeyring.OperationDoneCallback callback);
        [CCode (cheader_filename = "gnome-keyring.h")]
@@ -273,7 +270,7 @@ namespace GnomeKeyring {
        [CCode (cheader_filename = "gnome-keyring.h")]
        public static void* list_keyring_names (owned GnomeKeyring.OperationGetListCallback callback);
        [CCode (cheader_filename = "gnome-keyring.h")]
-       public static GnomeKeyring.Result list_keyring_names_sync (GLib.List keyrings);
+       public static GnomeKeyring.Result list_keyring_names_sync (out GLib.List<string> keyrings);
        [CCode (cheader_filename = "gnome-keyring.h")]
        public static void* @lock (string keyring, GnomeKeyring.OperationDoneCallback callback, void* data, GLib.DestroyNotify destroy_data);
        [CCode (cheader_filename = "gnome-keyring.h")]
@@ -299,8 +296,6 @@ namespace GnomeKeyring {
        [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 unowned string result_to_message (GnomeKeyring.Result res);
        [CCode (cheader_filename = "gnome-keyring.h")]
        public static void* set_default_keyring (string keyring, owned GnomeKeyring.OperationDoneCallback callback);
@@ -319,8 +314,6 @@ namespace GnomeKeyring {
        [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 void* unlock (string? keyring, string? password, owned GnomeKeyring.OperationDoneCallback callback);
        [CCode (cheader_filename = "gnome-keyring.h")]
        public static GnomeKeyring.Result unlock_sync (string? keyring, string? password);
index 22529246a49b1cebebfa86399dbc828ccb704d38..7f8eb0e1461c6983dc13205b0467443bf49435a4 100644 (file)
@@ -78,6 +78,7 @@ gnome_keyring_list_item_ids_sync.ids type_arguments="uint" is_out="1" takes_owne
 gnome_keyring_list_keyring_names.callback transfer_ownership="1"
 gnome_keyring_list_keyring_names.data hidden="1"
 gnome_keyring_list_keyring_names.destroy_data hidden="1"
+gnome_keyring_list_keyring_names_sync.keyrings transfer_ownership="1" is_out="1" type_arguments="string"
 GnomeKeyringItemInfoFlags hidden="1"
 GNOME_KEYRING_ITEM_APPLICATION_SECRET hidden="1"
 GNOME_KEYRING_ITEM_INFO_ALL hidden="1"
@@ -88,13 +89,14 @@ GnomeKeyringItemType hidden="1"
 gnome_keyring_find_items.callback transfer_ownership="1"
 gnome_keyring_find_items.data hidden="1"
 gnome_keyring_find_items.destroy_data hidden="1"
-gnome_keyring_find_items_sync.found is_out="1" takes_ownership="1"
+gnome_keyring_find_items_sync.found is_out="1" takes_ownership="1" type_arguments="Found"
 gnome_keyring_find_itemsv ellipsis="1"
 gnome_keyring_find_itemsv.callback transfer_ownership="1"
 gnome_keyring_find_itemsv.data hidden="1"
 gnome_keyring_find_itemsv.destroy_data hidden="1"
 gnome_keyring_find_itemsv_sync ellipsis="1"
-gnome_keyring_find_itemsv_sync.found is_out="1" takes_ownership="1"
+gnome_keyring_find_itemsv_sync.found is_out="1" takes_ownership="1" type_arguments="Found"
+gnome_keyring_found_list_free hidden="1"
 
 #network-item api
 gnome_keyring_set_network_password.callback transfer_ownership="1"
@@ -132,7 +134,8 @@ gnome_keyring_find_network_password_sync.server nullable="1"
 gnome_keyring_find_network_password_sync.object nullable="1"
 gnome_keyring_find_network_password_sync.protocol nullable="1"
 gnome_keyring_find_network_password_sync.authtype nullable="1"
-gnome_keyring_find_network_password_sync.results is_out="1"
+gnome_keyring_find_network_password_sync.results is_out="1" transfer_ownership="1" type_arguments="NetworkPasswordData"
+gnome_keyring_network_password_list_free hidden="1"
 
 #item api
 GnomeKeyringAttribute is_value_type="1"
@@ -152,12 +155,14 @@ gnome_keyring_item_get_acl.data hidden="1"
 gnome_keyring_item_get_acl.keyring nullable="1"
 gnome_keyring_item_get_acl.destroy_data hidden="1"
 gnome_keyring_item_get_acl_sync.keyring nullable="1"
-gnome_keyring_item_get_acl_sync.acl is_out="1" takes_ownership="1"
+gnome_keyring_item_get_acl_sync.acl is_out="1" takes_ownership="1" type_arguments="AccessControl"
 gnome_keyring_item_set_acl.callback transfer_ownership="1"
 gnome_keyring_item_set_acl.data hidden="1"
 gnome_keyring_item_set_acl.keyring nullable="1"
+gnome_keyring_item_set_acl.acl type_arguments="AccessControl"
 gnome_keyring_item_set_acl.destroy_data hidden="1"
 gnome_keyring_item_set_acl_sync.keyring nullable="1"
+gnome_keyring_item_set_acl_sync.acl type_arguments="AccessControl"
 gnome_keyring_item_get_attributes.callback transfer_ownership="1"
 gnome_keyring_item_get_attributes.data hidden="1"
 gnome_keyring_item_get_attributes.keyring nullable="1"
@@ -189,8 +194,13 @@ gnome_keyring_item_grant_access_rights.keyring nullable="1"
 gnome_keyring_item_grant_access_rights.destroy_data hidden="1"
 gnome_keyring_item_grant_access_rights_sync.keyring nullable="1"
 
+gnome_keyring_acl_copy transfer_ownership="1" type_arguments="AccessControl"
+gnome_keyring_acl_copy.list type_arguments="AccessControl"
+gnome_keyring_acl_free hidden="1"
 gnome_keyring_access_control_copy transfer_ownership="1"
 gnome_keyring_application_ref_copy transfer_ownership="1"
 gnome_keyring_attribute_list_copy transfer_ownership="1"
 gnome_keyring_info_copy transfer_ownership="1"
 gnome_keyring_item_info_copy transfer_ownership="1"
+GnomeKeyringOperationGetListCallback.list type_arguments="NetworkPasswordData"
+gnome_keyring_string_list_free hidden="1"