src/mime.h
changeset 113 4bee48270834
parent 101 d90b10cb193d
child 117 d2ff99ccdf30
     1.1 --- a/src/mime.h	Sat Mar 14 11:28:14 2015 +0100
     1.2 +++ b/src/mime.h	Sun Mar 15 10:14:43 2015 +0100
     1.3 @@ -11,6 +11,7 @@
     1.4  //
     1.5  //  parameters:
     1.6  //      msg (in)                message to encode
     1.7 +//      omit_fields (in)        only encode message body and attachments
     1.8  //      mimetext (out)          the resulting encoded text or NULL on any error
     1.9  //
    1.10  //  return value:
    1.11 @@ -25,9 +26,11 @@
    1.12  //  caveat:
    1.13  //      the resulttext will go to the ownership of the caller
    1.14  //      the message will remain in the ownership of the caller
    1.15 +//      omit_fields is true for payload of PGP/MIME messages
    1.16  
    1.17  DYNAMIC_API PEP_STATUS mime_encode_message(
    1.18          const message * msg,
    1.19 +        bool omit_fields,
    1.20          char **mimetext
    1.21      );
    1.22