| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
| |
Use of raw pointers and FFI functions mean that the compiler won't force
us to be correct in our usage of `&self` vs. `&mut self`.
These functions make changes to the notmuch database, and we want the
type system to ensure we can't simultaneously manipulate the database
from different functions.
|
| |
|
|
| |
Turns out to be useful outside of just enums.
|
| |
|
|
|
| |
Not so simple wrapper around notmuch API's `notmuch_database_upgrade()`
function. Variants with and without a callback parameter are provided.
|
| |
|
|
|
| |
Simple wrapper around notmuch API's `notmuch_database_needs_upgrade()`
function.
|
| |
|
|
|
| |
Simple wrapper around notmuch API's `notmuch_database_get_version()`
function.
|
| |
|
|
|
| |
Simple wrapper around notmuch API's `notmuch_database_get_path()`
function.
|
| |
|
|
| |
Simple wrapper around notmuch API's `notmuch_database_close()` function.
|
| |
|
|
|
| |
Simple wrapper around notmuch API's `notmuch_database_destroy()`
function.
|
| |
|
|
|
| |
Not so simple wrapper around notmuch API's `notmuch_database_compact()`
function. Variants with and without a callback parameter are provided.
|
| |
|
|
| |
Simple wrapper around notmuch API's `notmuch_database_open()` function.
|
| |
|
|
|
| |
Simple wrapper around notmuch API's `notmuch_database_create()`
function.
|
|
|
Add `database::Database`, `database::Version`, and `database::Mode`
types.
|