* mu-config,mu-util.[ch]: try MAILDIR, they ~/Maildir as a guess for the maildir

This commit is contained in:
Dirk-Jan C. Binnema
2009-12-09 19:53:30 +02:00
parent 1e2054d19b
commit b48e44f7c9
3 changed files with 50 additions and 2 deletions

View File

@ -35,6 +35,15 @@ G_BEGIN_DECLS
char* mu_util_dir_expand (const char* path);
/**
* guess the maildir; first try MAILDIR, then try ~/Maildir
* if both fail, return NULL
*
* @return full path of the guessed Maildir, or NULL; must be freed (gfree)
*/
char* mu_util_guess_maildir (void);
/**
* take a char*[] and turn it into a GSList
*