~ubuntu-branches/ubuntu/quantal/maildir-utils/quantal

« back to all changes in this revision

Viewing changes to src/mu-store-xapian.h

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Preining
  • Date: 2010-02-28 19:30:03 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20100228193003-95az0jwl5e2r31vf
Tags: 0.7-1
* Imported Upstream version 0.7
* disable upstream included make-index-silent patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
struct _MuStoreXapian;
32
32
typedef struct _MuStoreXapian MuStoreXapian;
33
33
 
34
 
 
35
34
/** 
36
35
 * create a new Xapian store, a place to store documents
37
36
 * 
49
48
void              mu_store_xapian_destroy (MuStoreXapian *store);
50
49
 
51
50
 
 
51
 
 
52
/** 
 
53
 * get a version string for the database
 
54
 * 
 
55
 * @param store a valid MuStoreXapian
 
56
 * 
 
57
 * @return the version string (free with g_free), or NULL in case of error
 
58
 */
 
59
char* mu_store_xapian_version (MuStoreXapian *store);
 
60
 
 
61
/** 
 
62
 * set the version string for the database
 
63
 * 
 
64
 * @param store a valid MuStoreXapian
 
65
 * @param version the version string (non-NULL)
 
66
 *
 
67
 * @return TRUE if setting the version succeeded, FALSE otherwise  
 
68
 */
 
69
gboolean  mu_store_xapian_set_version (MuStoreXapian *store,
 
70
                                       const char* version);
 
71
 
 
72
 
52
73
/** 
53
74
 * try to flush/commit all outstanding work
54
75
 *