X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-init.h;h=911bb81437e8f86a21611459244c96f8d5799003;hb=4a5aadd4f72009ad05881dd66fcbd17de9139214;hp=acb2627c2f086cd6b07518ba43e5e6b83463039f;hpb=0789247d553240d477f7122a5d0e6a4d78c54ebb;p=modest diff --git a/src/modest-init.h b/src/modest-init.h index acb2627..911bb81 100644 --- a/src/modest-init.h +++ b/src/modest-init.h @@ -71,6 +71,29 @@ gboolean modest_init_init_ui (gint argc, gchar** argv); */ gboolean modest_init_uninit (void); +/** + * modest_init_local_folders: + * @location_filepath: The location at which the local-folders directory should be created, + * or NULL to specify $HOME. + * + * 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__*/