aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-folder-cache.h
diff options
context:
space:
mode:
author0 <NotZed@Ximian.com>2001-09-21 06:59:11 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-09-21 06:59:11 +0800
commit586f083c3ab79ada76433afbe8529050f2cd5e31 (patch)
tree68dd993b932f67783ded7d00bd3e998ab5804dd2 /mail/mail-folder-cache.h
parenta6aba35df1c77772c1417354a68a310f90944ced (diff)
downloadgsoc2013-evolution-586f083c3ab79ada76433afbe8529050f2cd5e31.tar.gz
gsoc2013-evolution-586f083c3ab79ada76433afbe8529050f2cd5e31.tar.zst
gsoc2013-evolution-586f083c3ab79ada76433afbe8529050f2cd5e31.zip
Lock around hashtable/list manipulation. Also dont try scan vfolder_hash
2001-09-20 <NotZed@Ximian.com> * mail-vfolder.c (vfolder_register_source): Lock around hashtable/list manipulation. Also dont try scan vfolder_hash if it hasn't been setup yet. (source_finalise): Lock around list access. (rule_changed): Lock around hash access. (context_rule_added): Lock around hash access. (context_rule_removed): " (rule_changed): Lock around list access. * mail-local.c (storage_listener_startup): Fix for api change. (local_storage_new_folder_cb): Dont skip over leading / in path. (local_storage_removed_folder_cb): ditto. * mail-folder-cache.c (create_folders): No longer pass prefix between recursive calls - we have the path in the folderinfo. (setup_folder): No longer take path arg, we get it from folderinfo. (mail_note_folder): No longer take path arg, we use folder->full_name to key the folder table. (mail_note_store): Consolidate note_store interface, pass storage or corba_storage to it. (mail_note_local_store): Removed. * mail-ops.c (add_unmatched_info): Scan for unmatched name and re-title. svn path=/trunk/; revision=13023
Diffstat (limited to 'mail/mail-folder-cache.h')
-rw-r--r--mail/mail-folder-cache.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/mail/mail-folder-cache.h b/mail/mail-folder-cache.h
index 7aab84d748..1bfdf5066a 100644
--- a/mail/mail-folder-cache.h
+++ b/mail/mail-folder-cache.h
@@ -31,16 +31,12 @@
/* Add a store whose folders should appear in the shell
The folders are scanned from the store, and/or added at
runtime via the folder_created event */
-void mail_note_store(struct _CamelStore *store);
-
-/* Similar to above, but do updates via a local GNOME_Evolutuion_Storage
- rather than a remote proxy EvolutionStorage object */
-void mail_note_local_store(struct _CamelStore *store, GNOME_Evolution_Storage corba_storage);
+void mail_note_store(struct _CamelStore *store, struct _EvolutionStorage *storage, GNOME_Evolution_Storage corba_storage);
/* When a folder has been opened, notify it for watching.
- The path may be NULL if the shell-equivalent path can be determined
- from the folder->full_name, if it cannot, then the path must
- be supplied */
-void mail_note_folder(struct _CamelFolder *folder, const char *path);
+ The folder must have already been created on the store (which has already been noted)
+ before the folder can be opened
+ */
+void mail_note_folder(struct _CamelFolder *folder);
#endif