also add mime_decode_message

JSON-110
Claudio Luck 4 years ago
parent 85692cc708
commit 103fef97e6

@ -5,7 +5,7 @@ Nota bene: This list was created manually from the "authorative API description"
#### Message API ####
##### MIME_encrypt_message( String mimetext, Integer size, StringList extra, String⇑ mime_ciphertext, PEP_enc_format env_format, Integer flags)
##### MIME_encrypt_message( String mimetext, Integer size, StringList extra, String⇑ mime_ciphertext, PEP_enc_format env_format, Integer flags) #####
encrypt a MIME message, with MIME output
@ -293,6 +293,10 @@ re-evaluate already decrypted message rating
##### get_gpg_path(String⇑)
get path of gpg binary.
#### MIME message handling ####
##### mime_decode_message(String mime_message, Integer message_lenght, Message msg)
#### pEp Engine Core API ####
##### get_trustwords(Identity id1, Identity id2, Language lang, String⇑ words, Integer⇑ wsize, Bool full)

@ -18,6 +18,8 @@ Output parameters are denoted by a **⇑** , InOut parameters are denoted by a
| outgoing_message_rating | PEP_STATUS | Message, PEP_rating⇑ |
| identity_rating | PEP_STATUS | Identity, PEP_rating⇑ |
#### MIME message handling ####
| mime_decode_message | PEP_STATUS | String, Integer, Message⇑ |
#### pEp Engine Core API ####
| Function name | Return Type | Parameters |

@ -88,7 +88,7 @@ const FunctionMap functions = {
FP( "MIME_decrypt_message", new Func<PEP_STATUS, In_Pep_Session, In<c_string>, InLength<>,
Out<char*>, InOutP<stringlist_t*>, Out<PEP_rating>, InOutP<PEP_decrypt_flags_t>, Out<c_string>>( &MIME_decrypt_message ) ),
#endif
FP( "startKeySync", new Func<void, In<JsonAdapter*,ParamFlag::NoInput>>( &JsonAdapter::startSync) ),
FP( "stopKeySync", new Func<void, In<JsonAdapter*,ParamFlag::NoInput>>( &JsonAdapter::stopSync ) ),
FP( "startKeyserverLookup", new Func<void>( &JsonAdapter::startKeyserverLookup) ),
@ -127,6 +127,9 @@ const FunctionMap functions = {
FP( "set_identity_flags" , new Func<PEP_STATUS, In_Pep_Session, InOut<pEp_identity*>, In<identity_flags_t>>( &set_identity_flags) ),
FP( "unset_identity_flags" , new Func<PEP_STATUS, In_Pep_Session, InOut<pEp_identity*>, In<identity_flags_t>>( &unset_identity_flags) ),
FP( "MIME message handling", new Separator),
FP( "mime_decode_message", new Func<PEP_STATUS, In<c_string>, In<std::size_t>, Out<message*>>( &mime_decode_message) ),
FP( "Low level Key Management API", new Separator),
FP( "generate_keypair", new Func<PEP_STATUS, In_Pep_Session, InOut<pEp_identity*>> ( &generate_keypair) ),
FP( "delete_keypair", new Func<PEP_STATUS, In_Pep_Session, In<c_string>> ( &delete_keypair) ),

Loading…
Cancel
Save