JSON-165 the msg param of re_evaluate_message_rating() is now "inout" and not "in" any more. Release_2.1.0-RC12
authorRoker <roker@pep-project.org>
Wed, 09 Sep 2020 16:03:41 +0200
changeset 10638aa0a5a816e6
parent 1062 f898ab44942d
child 1064 8398649f7eb2
JSON-165 the msg param of re_evaluate_message_rating() is now "inout" and not "in" any more.
server/ev_server.cc
server/server_version.cc
     1.1 --- a/server/ev_server.cc	Tue Sep 08 18:32:18 2020 +0200
     1.2 +++ b/server/ev_server.cc	Wed Sep 09 16:03:41 2020 +0200
     1.3 @@ -95,7 +95,7 @@
     1.4  		FP( "pEp Engine Core API", new Separator),
     1.5  //		FP( "log_event",  new Func<PEP_STATUS, In_Pep_Session, In<c_string>, In<c_string>, In<c_string>, In<c_string>>( &log_event) ),
     1.6  		FP( "get_trustwords", new FuncPC<PEP_STATUS, In_Pep_Session, In<const pEp_identity*>, In<const pEp_identity*>, In<Language>, Out<char*>, Out<size_t>, In<bool>>( &get_trustwords) ),
     1.7 -		FP( "re_evaluate_message_rating", new FuncPC<PEP_STATUS, In_Pep_Session, In<message *>, In<stringlist_t *>, In<PEP_rating>, Out<PEP_rating>>( &re_evaluate_message_rating ) ),
     1.8 +		FP( "re_evaluate_message_rating", new FuncPC<PEP_STATUS, In_Pep_Session, InOut<message *>, In<stringlist_t *>, In<PEP_rating>, Out<PEP_rating>>( &re_evaluate_message_rating ) ),
     1.9  		FP( "get_languagelist", new FuncPC<PEP_STATUS, In_Pep_Session, Out<char*>>( &get_languagelist) ),
    1.10  //		FP( "get_phrase"      , new Func<PEP_STATUS, In_Pep_Session, In<Language>, In<int>, Out<char*>> ( &get_phrase) ),
    1.11  //		FP( "get_engine_version", new Func<const char*> ( &get_engine_version) ),
     2.1 --- a/server/server_version.cc	Tue Sep 08 18:32:18 2020 +0200
     2.2 +++ b/server/server_version.cc	Wed Sep 09 16:03:41 2020 +0200
     2.3 @@ -112,8 +112,8 @@
     2.4  //static const ServerVersion sv(0,20,0);  // JSON-152: 2-parameter version of pollForEvents().
     2.5  //static const ServerVersion sv(0,20,1);  // JSON-153: passphrase support
     2.6  //static const ServerVersion sv(0,21,0);  // import_key() expects binary data, so they are always base64-encoded!
     2.7 -static const ServerVersion sv(0,21,1);  // wrap _all_ Engine functions with passphrase_cache.api(), except config_*() functions.
     2.8 -
     2.9 +//static const ServerVersion sv(0,21,1);  // wrap _all_ Engine functions with passphrase_cache.api(), except config_*() functions.
    2.10 +static const ServerVersion sv(0,21,2); // JSON-165 the msg param of re_evaluate_message_rating() is now "inout" and not "in" any more
    2.11  	return sv;
    2.12  }
    2.13