Browse Source

adding engine API

MIME-4
Volker Birk 3 years ago
parent
commit
1845905617
1 changed files with 41 additions and 0 deletions
  1. +41
    -0
      src/pEpEngine_mime.cc

+ 41
- 0
src/pEpEngine_mime.cc View File

@ -0,0 +1,41 @@
#include <pEp/message.h>
// function interface for pEp engine
// link this to use pEp MIME with C code
namespace "C" {
DYNAMIC_API PEP_STATUS mime_encode_message(
const message * msg,
bool omit_fields,
char **mimetext
)
{
PEP_STATUS status = PEP_STATUS_OK;
return status;
}
DYNAMIC_API PEP_STATUS mime_decode_message(
const char *mimetext,
size_t size,
message **msg
)
{
PEP_STATUS status = PEP_STATUS_OK;
return status;
}
PEP_STATUS _mime_encode_message_internal(
const message * msg,
bool omit_fields,
char **mimetext,
bool transport_encode
)
{
PEP_STATUS status = PEP_STATUS_OK;
return status;
}
}

Loading…
Cancel
Save