pEpCOMServerAdapter.idl
changeset 18 79c848166413
parent 17 3288634317bb
child 19 3cfb847e13cd
     1.1 --- a/pEpCOMServerAdapter.idl	Fri May 01 11:35:35 2015 +0200
     1.2 +++ b/pEpCOMServerAdapter.idl	Tue May 05 10:27:36 2015 +0200
     1.3 @@ -209,24 +209,26 @@
     1.4      // Message API
     1.5  
     1.6      typedef enum _pEp_color {
     1.7 -        pEp_undefined = 0,
     1.8 -        pEp_unencrypted,
     1.9 -        pEp_unreliable,
    1.10 -        pEp_reliable,
    1.11 -        pEp_yellow = pEp_reliable,
    1.12 -        pEp_trusted,
    1.13 -        pEp_green = pEp_trusted,
    1.14 -        pEp_trusted_and_anonymized,
    1.15 -        pEp_fully_anonymous,
    1.16 +        pEp_rating_undefined = 0,
    1.17 +        pEp_rating_unencrypted,
    1.18 +        pEp_rating_cannot_decrypt,
    1.19 +        pEp_rating_unreliable,
    1.20 +        pEp_rating_reliable,
    1.21 +        pEp_rating_yellow = pEp_rating_reliable,
    1.22 +        pEp_rating_trusted,
    1.23 +        pEp_rating_green = pEp_rating_trusted,
    1.24 +        pEp_rating_trusted_and_anonymized,
    1.25 +        pEp_rating_fully_anonymous,
    1.26  
    1.27 -        pEp_under_attack = -1,
    1.28 -        pEp_red = pEp_under_attack,
    1.29 -        pEp_b0rken = -2
    1.30 +        pEp_rating_under_attack = -1,
    1.31 +        pEp_rating_red = pEp_rating_under_attack,
    1.32 +        pEp_rating_b0rken = -2
    1.33      } pEp_color;
    1.34  
    1.35 -    HRESULT message_encrypt([in] ITextMessage *src, [out] ITextMessage ** dst, [in, optional] SAFEARRAY(BSTR) extra);
    1.36 -    HRESULT message_decrypt([in] ITextMessage *src, [out] ITextMessage ** dst);
    1.37 +    HRESULT encrypt_message([in] ITextMessage *src, [out] ITextMessage ** dst, [in, optional] SAFEARRAY(BSTR) extra);
    1.38 +    HRESULT decrypt_message([in] ITextMessage *src, [out] ITextMessage ** dst, [out] SAFEARRAY(BSTR) *keylist);
    1.39      HRESULT message_color([in] ITextMessage *msg, [out, retval] pEp_color * pVal);
    1.40 +    HRESULT identity_color([in] struct pEp_identity_s * ident, [out, retval] pEp_color * pVal);
    1.41  };
    1.42  
    1.43  [