diff options
author | Dan Winship <danw@src.gnome.org> | 2001-02-15 05:51:33 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-02-15 05:51:33 +0800 |
commit | 7d76ff550168871217e6d483f965ce430427c536 (patch) | |
tree | 86afc5a45c2b45f79587093267d680704d5d836c /camel/camel-store.h | |
parent | 3245f9dacf18e68ed5e1bc18226d0ffe65c7bf6c (diff) | |
download | gsoc2013-evolution-7d76ff550168871217e6d483f965ce430427c536.tar.gz gsoc2013-evolution-7d76ff550168871217e6d483f965ce430427c536.tar.zst gsoc2013-evolution-7d76ff550168871217e6d483f965ce430427c536.zip |
New method to create a folder when you don't know its full name.
* camel-store.c (camel_store_create_folder): New method to create
a folder when you don't know its full name.
* providers/imap/camel-imap-store.c (create_folder): Implement.
svn path=/trunk/; revision=8231
Diffstat (limited to 'camel/camel-store.h')
-rw-r--r-- | camel/camel-store.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/camel/camel-store.h b/camel/camel-store.h index da81a435f0..cd53b7813d 100644 --- a/camel/camel-store.h +++ b/camel/camel-store.h @@ -83,6 +83,10 @@ typedef struct { CamelFolder * (*get_inbox) (CamelStore *store, CamelException *ex); + CamelFolderInfo *(*create_folder) (CamelStore *store, + const char *parent_name, + const char *folder_name, + CamelException *ex); void (*delete_folder) (CamelStore *store, const char *folder_name, CamelException *ex); @@ -126,6 +130,10 @@ CamelFolder * camel_store_get_folder (CamelStore *store, CamelFolder * camel_store_get_inbox (CamelStore *store, CamelException *ex); +CamelFolderInfo *camel_store_create_folder (CamelStore *store, + const char *parent_name, + const char *folder_name, + CamelException *ex); void camel_store_delete_folder (CamelStore *store, const char *folder_name, CamelException *ex); |