diff options
author | bertrand <Bertrand.Guiheneuf@aful.org> | 1999-08-06 22:17:27 +0800 |
---|---|---|
committer | Bertrand Guiheneuf <bertrand@src.gnome.org> | 1999-08-06 22:17:27 +0800 |
commit | cf2f1c428f9a75323318f04c66c7e1999ad65f62 (patch) | |
tree | 163a19250bed8ec545c732f7966650a9fb74358d /camel/camel-store.h | |
parent | 9dba21ca8de2f437014086eb80a4197c53246ed1 (diff) | |
download | gsoc2013-evolution-cf2f1c428f9a75323318f04c66c7e1999ad65f62.tar gsoc2013-evolution-cf2f1c428f9a75323318f04c66c7e1999ad65f62.tar.gz gsoc2013-evolution-cf2f1c428f9a75323318f04c66c7e1999ad65f62.tar.bz2 gsoc2013-evolution-cf2f1c428f9a75323318f04c66c7e1999ad65f62.tar.lz gsoc2013-evolution-cf2f1c428f9a75323318f04c66c7e1999ad65f62.tar.xz gsoc2013-evolution-cf2f1c428f9a75323318f04c66c7e1999ad65f62.tar.zst gsoc2013-evolution-cf2f1c428f9a75323318f04c66c7e1999ad65f62.zip |
add debug information (_list_subfolders): test if first char in folder
1999-08-06 bertrand <Bertrand.Guiheneuf@aful.org>
* camel/providers/MH/camel-mh-folder.c (_exists): add debug information
(_list_subfolders): test if first char in folder name is not '.'
before adding it to the folder list.
* camel/camel-store.c (_init):
disable session check temporarily
(_get_separator):
(_get_folder): new static func.
Fixed several oddities in class definition.
* camel/providers/MH/camel-mh-store.c (camel_mh_store_get_type):
parent type is CAMEL_STORE_TYPE not CAMEL_FOLDER_TYPE
* camel/camel-store.c:
prent class is CamelServiceClass not GtkObjectClass
* camel/url-util.c :
cosmetic changes + use of const when possible.
(find_host):
fix a bug: when there is no host and no port don't skip the '/'
all static find_* func are now named _func_*
(g_url_free): destructor func.
cache field has been disabled. Constructing the url string
won't be too slow and will occur rarely enough that we
do not need to add complexity to this code.
* camel/providers/MH/camel-mh-store.c:
parent class is CamelStorClass not GtkObjectClass
svn path=/trunk/; revision=1087
Diffstat (limited to 'camel/camel-store.h')
-rw-r--r-- | camel/camel-store.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/camel/camel-store.h b/camel/camel-store.h index 38fb0f10f7..fea908ce99 100644 --- a/camel/camel-store.h +++ b/camel/camel-store.h @@ -62,7 +62,7 @@ typedef struct { void (*init) (CamelStore *store, CamelSession *session, gchar *url_name); void (*set_separator) (CamelStore *store, gchar sep); gchar (*get_separator) (CamelStore *store); - CamelFolder * (*get_folder) (CamelStore *store, gchar *folder_name); + CamelFolder * (*get_folder) (CamelStore *store, const gchar *folder_name); CamelFolder * (*get_root_folder) (CamelStore *store); CamelFolder * (*get_default_folder) (CamelStore *store); @@ -74,9 +74,9 @@ typedef struct { /* Standard Gtk function */ GtkType camel_store_get_type (void); -void camel_store_init(CamelStore *store, CamelSession *session, gchar *url_name); -CamelFolder *camel_store_get_folder(CamelStore *store, gchar *folder_name); -gchar camel_store_get_separator(CamelStore *store); +void camel_store_init (CamelStore *store, CamelSession *session, gchar *url_name); +CamelFolder *camel_store_get_folder (CamelStore *store, const gchar *folder_name); +gchar camel_store_get_separator (CamelStore *store); #ifdef __cplusplus } |