add own_key_add(), own_key_is_listed() and own_key_retrieve() which are new in the pEp Engine. – "(7b) Elsdorf"

refactor-result-recursion
Lars Rohwedder 7 years ago
parent 7706d88a4c
commit 403edd964f

@ -46,7 +46,9 @@ const std::string server_version =
// "(5c) Weisweiler"; // add missing members of struct message
// "(5d) Langerwehe"; // add the remaining functions from pEpEngine.h
// "(6) Düren"; // some bug fixes for missing data types, UTF-8 output etc., status in hex etc.
"(7a) Merzenich"; // InOut parameters added. Untested, yet.
// "(7a) Merzenich"; // InOut parameters added. Untested, yet.
"(7b) Elsdorf"; // add own_key functions, which are new in the pEp Engine
template<>
In<PEP_SESSION>::~In()
@ -142,6 +144,9 @@ const FunctionMap functions = {
FP( "export_key" , new Func<PEP_STATUS, In<PEP_SESSION>, In<const char*>, Out<char*>, Out<std::size_t>> ( &export_key) ),
FP( "find_keys" , new Func<PEP_STATUS, In<PEP_SESSION>, In<const char*>, Out<stringlist_t*>> ( &find_keys) ),
FP( "get_trust" , new Func<PEP_STATUS, In<PEP_SESSION>, InOut<pEp_identity*>> ( &get_trust) ),
FP( "own_key_add" , new Func<PEP_STATUS, In<PEP_SESSION>, In<const char*>> ( &own_key_add) ),
FP( "own_key_is_listed", new Func<PEP_STATUS, In<PEP_SESSION>, In<const char*>, Out<bool>> ( &own_key_is_listed) ),
FP( "own_key_retrieve" , new Func<PEP_STATUS, In<PEP_SESSION>, Out<stringlist_t*>> ( &own_key_retrieve) ),
FP( "least_trust" , new Func<PEP_STATUS, In<PEP_SESSION>, In<const char*>, Out<PEP_comm_type>> ( &least_trust) ),
FP( "get_key_rating", new Func<PEP_STATUS, In<PEP_SESSION>, In<const char*>, Out<PEP_comm_type>> ( &get_key_rating) ),

Loading…
Cancel
Save