]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-client.h
Add decryption of PGP/MIME-encrypted parts with --decrypt.
[notmuch] / notmuch-client.h
index dc4ed7aafd03bcdbff1178937e02772789a06188..8a2726033f6286b6f8de893c8ed63ab2c657ab63 100644 (file)
@@ -67,6 +67,7 @@ typedef struct notmuch_show_format {
     const char *body_start;
     void (*part_start) (GMimeObject *part,
                        int *part_count);
+    void (*part_encstatus) (int status);
     void (*part_sigstatus) (const GMimeSignatureValidity* validity);
     void (*part_content) (GMimeObject *part);
     void (*part_end) (GMimeObject *part);
@@ -82,6 +83,7 @@ typedef struct notmuch_show_params {
     int raw;
     int part;
     GMimeCipherContext* cryptoctx;
+    int decrypt;
 } notmuch_show_params_t;
 
 /* There's no point in continuing when we've detected that we've done