There is no reason for anything outside the indexopts.c compilation
unit to have access to structure members.
#include "notmuch-private.h"
#include "notmuch-private.h"
+struct _notmuch_indexopts {
+ _notmuch_crypto_t crypto;
+};
+
notmuch_indexopts_t *
notmuch_database_get_default_indexopts (notmuch_database_t *db)
{
notmuch_indexopts_t *
notmuch_database_get_default_indexopts (notmuch_database_t *db)
{
-struct _notmuch_indexopts {
- _notmuch_crypto_t crypto;
-};
+struct _notmuch_indexopts;
#define CONFIG_HEADER_PREFIX "index.header."
#define CONFIG_HEADER_PREFIX "index.header."