X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-utils.h;h=64845ba19281d9ec001ea69c9f0557743df130a2;hp=a47b0d051642a10bdef844511563c0a92def0159;hb=ff1c10570c382523c3f9c414159a6eb4a6dd4c0f;hpb=91526797480db76525e1295ec4a65f29f4bdc9cf diff --git a/src/modest-utils.h b/src/modest-utils.h index a47b0d0..64845ba 100644 --- a/src/modest-utils.h +++ b/src/modest-utils.h @@ -135,4 +135,15 @@ void modest_utils_toggle_action_set_active_block_notify (GtkToggleAction *action */ gint modest_list_index (TnyList *list, GObject *object); +/** + * modest_folder_available_space: + * @maildir_path: the path of the maildir folder, or %NULL to + * get the space available in local folders + * + * Obtains the space available in the local folder. + * + * Returns: a #guint64 + */ +guint64 modest_folder_available_space (const gchar *maildir_path); + #endif /*__MODEST_MAEMO_UTILS_H__*/