| Camel Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
struct CamelLocalSettings; const gchar * camel_local_settings_get_path (CamelLocalSettings *settings); gchar * camel_local_settings_dup_path (CamelLocalSettings *settings); void camel_local_settings_set_path (CamelLocalSettings *settings,const gchar *path);
GObject +----CamelSettings +----CamelStoreSettings +----CamelLocalSettings +----CamelMhSettings +----CamelSpoolSettings
struct CamelLocalSettings;
Contains only private data that should be read and manipulated using the functions below.
Since 3.4
const gchar * camel_local_settings_get_path (CamelLocalSettings *settings);
Returns the file path to the root of the local mail store.
|
a CamelLocalSettings |
Returns : |
the file path to the local store |
Since 3.4
gchar * camel_local_settings_dup_path (CamelLocalSettings *settings);
Thread-safe variation of camel_local_settings_get_path().
Use this function when accessing settings from multiple threads.
The returned string should be freed with g_free() when no longer needed.
|
a CamelLocalSettings |
Returns : |
a newly-allocated copy of "path" |
Since 3.4
void camel_local_settings_set_path (CamelLocalSettings *settings,const gchar *path);
Sets the file path to the root of the local mail store. Any trailing directory separator characters will be stripped off of the "path" property.
|
a CamelLocalSettings |
|
the file path to the local store |
Since 3.4