2007-06-13 Murray Cumming <murrayc@murrayc.com>
[modest] / src / modest-init.h
index acb2627..0503c84 100644 (file)
@@ -71,6 +71,27 @@ gboolean modest_init_init_ui (gint argc, gchar** argv);
  */
 gboolean modest_init_uninit (void);
 
+/**
+ * modest_init_local_folders:
+ * 
+ * create the Local Folders folder under cache, if they
+ * do not exist yet.
+ * 
+ * Returns: TRUE if the folder were already there, or
+ * they were created, FALSE otherwise
+ */
+gboolean modest_init_local_folders  (const gchar* location_filepath);
+
+/**
+ * modest_init_one_local_folder:
+ *
+ * Create the directory structure for a maildir folder,
+ * so that camel can use it as a maildir folder in a 
+ * local maildir store account.
+ */
+gboolean modest_init_one_local_folder (gchar *maildir_path);
+
+
 G_END_DECLS
 
 #endif /*__MODEST_INIT_H__*/