Top |
Functions
camel_pop3_store_ref_cache ()
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.
camel_pop3_store_ref_engine ()
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.
camel_pop3_store_expunge ()
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.
camel_pop3_store_cache_add ()
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.
camel_pop3_store_cache_get ()
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.
camel_pop3_store_cache_has ()
gboolean camel_pop3_store_cache_has (CamelPOP3Store *store
,const gchar *uid
);
Returns whether store
has a cached message for uid
.