moving this to standard implementation sync
authorVolker Birk <vb@pep-project.org>
Fri, 05 Apr 2019 17:29:12 +0200
branchsync
changeset 34407b7f587af002
parent 3439 3333c94c7827
child 3441 5b25144d17b1
moving this to standard implementation
src/etpan_mime.c
src/mime.c
     1.1 --- a/src/etpan_mime.c	Fri Apr 05 16:56:44 2019 +0200
     1.2 +++ b/src/etpan_mime.c	Fri Apr 05 17:29:12 2019 +0200
     1.3 @@ -1826,15 +1826,6 @@
     1.4      return status;
     1.5  }
     1.6  
     1.7 -DYNAMIC_API PEP_STATUS mime_encode_message(
     1.8 -        const message * msg,
     1.9 -        bool omit_fields,
    1.10 -        char **mimetext
    1.11 -    )
    1.12 -{
    1.13 -    return _mime_encode_message_internal(msg, omit_fields, mimetext, true);
    1.14 -}
    1.15 -
    1.16  PEP_STATUS _mime_encode_message_internal(
    1.17          const message * msg,
    1.18          bool omit_fields,
     2.1 --- a/src/mime.c	Fri Apr 05 16:56:44 2019 +0200
     2.2 +++ b/src/mime.c	Fri Apr 05 17:29:12 2019 +0200
     2.3 @@ -33,3 +33,13 @@
     2.4  
     2.5      return strncmp(text, "-----BEGIN PGP MESSAGE-----", 27) == 0;
     2.6  }
     2.7 +
     2.8 +DYNAMIC_API PEP_STATUS mime_encode_message(
     2.9 +        const message * msg,
    2.10 +        bool omit_fields,
    2.11 +        char **mimetext
    2.12 +    )
    2.13 +{
    2.14 +    return _mime_encode_message_internal(msg, omit_fields, mimetext, true);
    2.15 +}
    2.16 +