make identity parameter in get_trustwords() const.
authorRoker <roker@pep-project.org>
Wed, 21 Dec 2016 12:11:38 +0100
changeset 1509d184c458f099
parent 1508 ab010a3b7894
child 1512 663036ca6b74
make identity parameter in get_trustwords() const.
src/message_api.c
src/message_api.h
     1.1 --- a/src/message_api.c	Wed Dec 21 10:47:27 2016 +0100
     1.2 +++ b/src/message_api.c	Wed Dec 21 12:11:38 2016 +0100
     1.3 @@ -2225,7 +2225,7 @@
     1.4  }
     1.5  
     1.6  DYNAMIC_API PEP_STATUS get_trustwords(
     1.7 -    PEP_SESSION session, pEp_identity* id1, pEp_identity* id2,
     1.8 +    PEP_SESSION session, const pEp_identity* id1, const pEp_identity* id2,
     1.9      const char* lang, char **words, size_t *wsize, bool full
    1.10  )
    1.11  {
     2.1 --- a/src/message_api.h	Wed Dec 21 10:47:27 2016 +0100
     2.2 +++ b/src/message_api.h	Wed Dec 21 12:11:38 2016 +0100
     2.3 @@ -332,7 +332,7 @@
     2.4  //
     2.5  
     2.6  DYNAMIC_API PEP_STATUS get_trustwords(
     2.7 -    PEP_SESSION session, pEp_identity* id1, pEp_identity* id2,
     2.8 +    PEP_SESSION session, const pEp_identity* id1, const pEp_identity* id2,
     2.9      const char* lang, char **words, size_t *wsize, bool full
    2.10  );
    2.11