mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +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"
|
#include "notmuch-private.h"
|
||||||
|
|
||||||
|
struct _notmuch_indexopts {
|
||||||
|
_notmuch_crypto_t crypto;
|
||||||
|
};
|
||||||
|
|
||||||
notmuch_indexopts_t *
|
notmuch_indexopts_t *
|
||||||
notmuch_database_get_default_indexopts (notmuch_database_t *db)
|
notmuch_database_get_default_indexopts (notmuch_database_t *db)
|
||||||
{
|
{
|
||||||
|
|
|
@ -711,9 +711,7 @@ _notmuch_thread_create (void *ctx,
|
||||||
|
|
||||||
/* indexopts.c */
|
/* indexopts.c */
|
||||||
|
|
||||||
struct _notmuch_indexopts {
|
struct _notmuch_indexopts;
|
||||||
_notmuch_crypto_t crypto;
|
|
||||||
};
|
|
||||||
|
|
||||||
#define CONFIG_HEADER_PREFIX "index.header."
|
#define CONFIG_HEADER_PREFIX "index.header."
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue