forked from pEp.foundation/pEpMIME
adding engine API
parent
b2e18bf659
commit
1845905617
@ -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…
Reference in New Issue