mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 10:28:09 +01:00
lib: make indexopts pointers opaque
There is no reason for anything outside the indexopts.c compilation unit to have access to structure members.
This commit is contained in:
parent
f316f7ef6a
commit
c128c995bc
2 changed files with 5 additions and 3 deletions
|
@ -20,6 +20,10 @@
|
|||
|
||||
#include "notmuch-private.h"
|
||||
|
||||
struct _notmuch_indexopts {
|
||||
_notmuch_crypto_t crypto;
|
||||
};
|
||||
|
||||
notmuch_indexopts_t *
|
||||
notmuch_database_get_default_indexopts (notmuch_database_t *db)
|
||||
{
|
||||
|
|
|
@ -711,9 +711,7 @@ _notmuch_thread_create (void *ctx,
|
|||
|
||||
/* indexopts.c */
|
||||
|
||||
struct _notmuch_indexopts {
|
||||
_notmuch_crypto_t crypto;
|
||||
};
|
||||
struct _notmuch_indexopts;
|
||||
|
||||
#define CONFIG_HEADER_PREFIX "index.header."
|
||||
|
||||
|
|
Loading…
Reference in a new issue