src/message_api.h
author vb
Mon, 29 Dec 2014 20:48:30 +0100
changeset 38 271bea5552dc
parent 37 7928e0e6eee9
child 39 66b5cc6cb987
permissions -rw-r--r--
encrypt in pieces
     1 #ifdef __cplusplus
     2 extern "C" {
     3 #endif
     4 
     5 #include "transport.h"
     6 
     7 typedef enum _PEP_enc_format {
     8     PEP_enc_none = 0,
     9     PEP_enc_MIME_multipart,
    10     PEP_enc_pieces
    11 } PEP_enc_format;
    12 
    13 PEP_STATUS encrypt_message(
    14         PEP_SESSION session,
    15         const message *src,
    16         stringlist_t *extra,
    17         message **dst,
    18         PEP_enc_format format
    19     );
    20 
    21 PEP_STATUS decrypt_message(
    22         PEP_SESSION session,
    23         const message *src,
    24         message **dst
    25     );
    26 
    27 #ifdef __cplusplus
    28 }
    29 #endif
    30