summaryrefslogtreecommitdiff
path: root/libpurple/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'libpurple/core.h')
-rw-r--r--libpurple/core.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/libpurple/core.h b/libpurple/core.h
index 679dec0f0a..4af45f9397 100644
--- a/libpurple/core.h
+++ b/libpurple/core.h
@@ -226,6 +226,19 @@ gboolean purple_core_ensure_single_instance(void);
*/
GHashTable* purple_core_get_ui_info(void);
+/**
+ * purple_core_migrate_to_xdg_base_dirs:
+ *
+ * Migrates from legacy directory for libpurple to location following
+ * XDG base dir spec. https://developer.pidgin.im/ticket/10029
+ * NOTE This is not finished yet. Need to decide where other profile files
+ * should be moved.
+ *
+ * Returns: TRUE if migrated successfully, FALSE otherwise. On failure,
+ * the application must display an error to the user and then exit.
+ */
+gboolean purple_core_migrate_to_xdg_base_dirs(void);
+
G_END_DECLS
#endif /* _PURPLE_CORE_H_ */