X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=notmuch-client.h;h=9d0f367d5e4ed849afb6d6b8b9f6b1693b43bf62;hb=d7a49e819922aca77815016ab69984519ff83d5c;hp=11aefbb468cabb62401abfbfa1124720ee2179db;hpb=e142de643d3bb4354f70e1490a97b491d1116e95;p=notmuch diff --git a/notmuch-client.h b/notmuch-client.h index 11aefbb4..9d0f367d 100644 --- a/notmuch-client.h +++ b/notmuch-client.h @@ -72,11 +72,11 @@ typedef struct notmuch_show_format { } notmuch_show_format_t; typedef struct notmuch_crypto { - notmuch_crypto_context_t* gpgctx; - notmuch_crypto_context_t* pkcs7ctx; notmuch_bool_t verify; notmuch_bool_t decrypt; #if (GMIME_MAJOR_VERSION < 3) + notmuch_crypto_context_t* gpgctx; + notmuch_crypto_context_t* pkcs7ctx; const char *gpgpath; #endif } notmuch_crypto_t; @@ -180,8 +180,10 @@ typedef struct _notmuch_config notmuch_config_t; void notmuch_exit_if_unsupported_format (void); +#if (GMIME_MAJOR_VERSION <3) notmuch_crypto_context_t * notmuch_crypto_get_context (notmuch_crypto_t *crypto, const char *protocol); +#endif int notmuch_crypto_cleanup (notmuch_crypto_t *crypto); @@ -198,6 +200,9 @@ notmuch_new_command (notmuch_config_t *config, int argc, char *argv[]); int notmuch_insert_command (notmuch_config_t *config, int argc, char *argv[]); +int +notmuch_reindex_command (notmuch_config_t *config, int argc, char *argv[]); + int notmuch_reply_command (notmuch_config_t *config, int argc, char *argv[]); @@ -242,7 +247,7 @@ show_one_part (const char *filename, int part); void format_part_sprinter (const void *ctx, struct sprinter *sp, mime_node_t *node, - notmuch_bool_t first, notmuch_bool_t output_body, + notmuch_bool_t output_body, notmuch_bool_t include_html); void