aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-keyring.h
diff options
context:
space:
mode:
authorJonny Lamb <jonnylamb@gnome.org>2011-02-01 16:50:22 +0800
committerJonny Lamb <jonnylamb@gnome.org>2011-02-01 16:50:22 +0800
commit38a7c551fb07d72dd7b6744a8d1a345466b011d2 (patch)
tree3eca2564dbb6240421e1d7b43e8cb1898f73bd0c /libempathy/empathy-keyring.h
parent7f5c02a63be19988ab199e497e22cd93880ae0bd (diff)
parentb03dfefd8103ea41f61407df122021a6d14d5a19 (diff)
downloadgsoc2013-empathy-38a7c551fb07d72dd7b6744a8d1a345466b011d2.tar
gsoc2013-empathy-38a7c551fb07d72dd7b6744a8d1a345466b011d2.tar.gz
gsoc2013-empathy-38a7c551fb07d72dd7b6744a8d1a345466b011d2.tar.bz2
gsoc2013-empathy-38a7c551fb07d72dd7b6744a8d1a345466b011d2.tar.lz
gsoc2013-empathy-38a7c551fb07d72dd7b6744a8d1a345466b011d2.tar.xz
gsoc2013-empathy-38a7c551fb07d72dd7b6744a8d1a345466b011d2.tar.zst
gsoc2013-empathy-38a7c551fb07d72dd7b6744a8d1a345466b011d2.zip
Merge branch 'muc-password'
Diffstat (limited to 'libempathy/empathy-keyring.h')
-rw-r--r--libempathy/empathy-keyring.h28
1 files changed, 22 insertions, 6 deletions
diff --git a/libempathy/empathy-keyring.h b/libempathy/empathy-keyring.h
index 000f987f7..92c8a6e9f 100644
--- a/libempathy/empathy-keyring.h
+++ b/libempathy/empathy-keyring.h
@@ -25,23 +25,39 @@
G_BEGIN_DECLS
-void empathy_keyring_get_password_async (TpAccount *account,
+gboolean empathy_keyring_is_available (void);
+
+void empathy_keyring_get_account_password_async (TpAccount *account,
+ GAsyncReadyCallback callback, gpointer user_data);
+
+const gchar * empathy_keyring_get_account_password_finish (TpAccount *account,
+ GAsyncResult *result, GError **error);
+
+void empathy_keyring_get_room_password_async (TpAccount *account,
+ const gchar *id,
GAsyncReadyCallback callback, gpointer user_data);
-const gchar * empathy_keyring_get_password_finish (TpAccount *account,
+const gchar * empathy_keyring_get_room_password_finish (TpAccount *account,
GAsyncResult *result, GError **error);
-void empathy_keyring_set_password_async (TpAccount *account,
+void empathy_keyring_set_account_password_async (TpAccount *account,
const gchar *password, GAsyncReadyCallback callback,
gpointer user_data);
-gboolean empathy_keyring_set_password_finish (TpAccount *account,
+gboolean empathy_keyring_set_account_password_finish (TpAccount *account,
+ GAsyncResult *result, GError **error);
+
+void empathy_keyring_set_room_password_async (TpAccount *account,
+ const gchar *id, const gchar *password, GAsyncReadyCallback callback,
+ gpointer user_data);
+
+gboolean empathy_keyring_set_room_password_finish (TpAccount *account,
GAsyncResult *result, GError **error);
-void empathy_keyring_delete_password_async (TpAccount *account,
+void empathy_keyring_delete_account_password_async (TpAccount *account,
GAsyncReadyCallback callback, gpointer user_data);
-gboolean empathy_keyring_delete_password_finish (TpAccount *account,
+gboolean empathy_keyring_delete_account_password_finish (TpAccount *account,
GAsyncResult *result, GError **error);
G_END_DECLS