diff options
author | bertrand <Bertrand.Guiheneuf@inria.fr> | 1999-04-25 17:45:13 +0800 |
---|---|---|
committer | Bertrand Guiheneuf <bertrand@src.gnome.org> | 1999-04-25 17:45:13 +0800 |
commit | eb2c9a602456d8c51c5e241dce1c51861e9ae0f8 (patch) | |
tree | 18b74b0dbf4d1bef593676fa93779b1f326a1017 /camel/camel-store.c | |
parent | e309ab571904ab1cc4ce258478baf08fe3728945 (diff) | |
download | gsoc2013-evolution-eb2c9a602456d8c51c5e241dce1c51861e9ae0f8.tar gsoc2013-evolution-eb2c9a602456d8c51c5e241dce1c51861e9ae0f8.tar.gz gsoc2013-evolution-eb2c9a602456d8c51c5e241dce1c51861e9ae0f8.tar.bz2 gsoc2013-evolution-eb2c9a602456d8c51c5e241dce1c51861e9ae0f8.tar.lz gsoc2013-evolution-eb2c9a602456d8c51c5e241dce1c51861e9ae0f8.tar.xz gsoc2013-evolution-eb2c9a602456d8c51c5e241dce1c51861e9ae0f8.tar.zst gsoc2013-evolution-eb2c9a602456d8c51c5e241dce1c51861e9ae0f8.zip |
basic provider structure. Have to write the code for dynamic loading.
1999-04-25 bertrand <Bertrand.Guiheneuf@inria.fr>
* camel/camel-provider.[ch]:
basic provider structure. Have to write the
code for dynamic loading.
svn path=/trunk/; revision=876
Diffstat (limited to 'camel/camel-store.c')
-rw-r--r-- | camel/camel-store.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/camel/camel-store.c b/camel/camel-store.c index 5723534138..a5ade87053 100644 --- a/camel/camel-store.c +++ b/camel/camel-store.c @@ -82,6 +82,34 @@ camel_store_get_type (void) +/** + * camel_store_new: create a new store from an URL + * @url: The url representing this store + * + * This routine creates a store from an URL name. + * The URL may be for example: + * pop3://user:passwd@host + * + * WARNING : THIS METHOD DEFINITION IS SUBJECT TO + * CHANGES. + * + * Return value: the newly created store + **/ +CamelStore * +camel_store_new(GString *url) +{ + /* this method must be overloaded by providers */ + CamelStore *store; +#warning must fill this + /* here si what will happen here : + In fact the method will take a Session object as a supplemental + argument. From this object and from the url protocol + (pop/mh/mbox ...) the correct provider will be selected an the + corresponding store object will be created */ + +} + + /** * camel_store_set_separator: set the character which separates this folder * path from the folders names in a lower level of hierarchy. |