diff options
author | Stef Walter <stefw@collabora.co.uk> | 2011-12-05 17:56:03 +0100 |
---|---|---|
committer | Stef Walter <stefw@collabora.co.uk> | 2011-12-08 20:13:45 +0100 |
commit | cb64b5ec5ff1b7ae50bfa09267f05011f9b8de96 (patch) | |
tree | bed7d8888ee111416f87a76a560f562e9e089f63 /gcr/gcr-import-interaction.h | |
parent | 007f81cb2856fdfa8879e39f8032057e521867b4 (diff) | |
download | gcr-cb64b5ec5ff1b7ae50bfa09267f05011f9b8de96.tar.gz |
gck: Add GckBuilder as a mutable attribute set
* Use GckBuilder to build a set of attributes, and then
GckAttributes is a immutable set of attributes.
* We reference count the memory used in attributes, so
as we copy and transfer the attributes without duplicating
values unnecessarily
Diffstat (limited to 'gcr/gcr-import-interaction.h')
-rw-r--r-- | gcr/gcr-import-interaction.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcr/gcr-import-interaction.h b/gcr/gcr-import-interaction.h index 2793d13..4ab95a2 100644 --- a/gcr/gcr-import-interaction.h +++ b/gcr/gcr-import-interaction.h @@ -48,15 +48,15 @@ struct _GcrImportInteractionIface { GTypeInterface parent; void (*supplement_prep) (GcrImportInteraction *interaction, - GckAttributes *attributes); + GckBuilder *builder); GTlsInteractionResult (*supplement) (GcrImportInteraction *interaction, - GckAttributes *attributes, + GckBuilder *builder, GCancellable *cancellable, GError **error); void (*supplement_async) (GcrImportInteraction *interaction, - GckAttributes *attributes, + GckBuilder *builder, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data); @@ -72,15 +72,15 @@ struct _GcrImportInteractionIface { GType gcr_import_interaction_get_type (void); void gcr_import_interaction_supplement_prep (GcrImportInteraction *interaction, - GckAttributes *attributes); + GckBuilder *builder); GTlsInteractionResult gcr_import_interaction_supplement (GcrImportInteraction *interaction, - GckAttributes *attributes, + GckBuilder *builder, GCancellable *cancellable, GError **error); void gcr_import_interaction_supplement_async (GcrImportInteraction *interaction, - GckAttributes *attributes, + GckBuilder *builder, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data); |