| Camel Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | ||||
struct CamelPOP3Store; CamelDataCache * camel_pop3_store_ref_cache (CamelPOP3Store *store); CamelPOP3Engine * camel_pop3_store_ref_engine (CamelPOP3Store *store); gboolean camel_pop3_store_expunge (CamelPOP3Store *store,GCancellable *cancellable,GError **error); CamelStream * camel_pop3_store_cache_add (CamelPOP3Store *store,const gchar *uid,GError **error); CamelStream * camel_pop3_store_cache_get (CamelPOP3Store *store,const gchar *uid,GError **error); gboolean camel_pop3_store_cache_has (CamelPOP3Store *store,const gchar *uid);
CamelDataCache * camel_pop3_store_ref_cache (CamelPOP3Store *store);
Returns the CamelDataCache for store.
The returned CamelDataCache is referenced for thread-safety and must be
unreferenced with g_object_unref() when finished with it.
|
a CamelPOP3Store |
Returns : |
a CamelDataCache |
CamelPOP3Engine * camel_pop3_store_ref_engine (CamelPOP3Store *store);
Returns the CamelPOP3Engine for store.
The returned CamelPOP3Engine is referenced for thread-safety and must be
unreferenced with g_object_unref() when finished with it.
|
a CamelPOP3Store |
Returns : |
a CamelPOP3Store |
gboolean camel_pop3_store_expunge (CamelPOP3Store *store,GCancellable *cancellable,GError **error);
Expunge messages from the store. This will result in the connection being closed, which may cause later commands to fail if they can't reconnect.
|
a CamelPOP3Store |
|
return location for a GError, or NULL
|
|
optional GCancellable object, or NULL
|
CamelStream * camel_pop3_store_cache_add (CamelPOP3Store *store,const gchar *uid,GError **error);
Creates a cache file for uid in store and returns a CamelStream for it.
If an error occurs in opening the cache file, the function sets error and
returns NULL.
The returned CamelStream is referenced for thread-safety and must be unreferenced when finished with it.
|
a CamelPOP3Store |
|
a message UID |
|
return location for a GError, or NULL
|
Returns : |
a CamelStream, or NULL
|
CamelStream * camel_pop3_store_cache_get (CamelPOP3Store *store,const gchar *uid,GError **error);
Opens the cache file for uid in store and returns a CamelStream for it.
If no matching cache file exists, the function returns NULL. If an error
occurs in opening the cache file, the function sets error and returns
NULL.
The returned CamelStream is referenced for thread-safety and must be unreferenced when finished with it.
|
a CamelPOP3Store |
|
a message UID |
|
return location for a GError, or NULL
|
Returns : |
a CamelStream, or NULL
|
gboolean camel_pop3_store_cache_has (CamelPOP3Store *store,const gchar *uid);
Returns whether store has a cached message for uid.
|
a CamelPOP3Store |
|
a message UID |
Returns : |
whether uid is cached |