* WIP: contact listing / searching.

this is the first part, adding a cache for all the contacts in mails
  (~/.mu/cache/contacts), which is a .ini-type file.
This commit is contained in:
Dirk-Jan C. Binnema
2011-03-02 00:13:24 +02:00
parent bbbba9157b
commit deeaf41f33
11 changed files with 134 additions and 61 deletions

View File

@ -45,7 +45,7 @@ struct _MuIndex {
};
MuIndex*
mu_index_new (const char *xpath, GError **err)
mu_index_new (const char *xpath, const char* contacts_cache, GError **err)
{
MuIndex *index;
@ -53,7 +53,7 @@ mu_index_new (const char *xpath, GError **err)
index = g_new0 (MuIndex, 1);
index->_store = mu_store_new (xpath, err);
index->_store = mu_store_new (xpath, contacts_cache, err);
if (!index->_store) {
g_warning ("%s: failed to open xapian store (%s)",
__FUNCTION__, xpath);