pEpCOMServerAdapter.idl
branchkeysync
changeset 171 44bfd5428aa9
parent 169 d776268c12a7
child 172 112b0fac353d
     1.1 --- a/pEpCOMServerAdapter.idl	Mon Oct 03 18:53:52 2016 +0200
     1.2 +++ b/pEpCOMServerAdapter.idl	Mon Oct 03 19:15:35 2016 +0200
     1.3 @@ -206,7 +206,7 @@
     1.4      HRESULT blacklist_retrieve([out, retval] SAFEARRAY(BSTR) *blacklist);
     1.5  
     1.6  	// PGP compatibility functions
     1.7 -	HRESULT OpenPGP_list_keyinfo([in] BSTR search_pattern, [out, retval] SAFEARRAY(struct opt_field)* keyinfo_list);
     1.8 +	HRESULT OpenPGP_list_keyinfo([in] BSTR search_pattern, [out, retval] SAFEARRAY(struct StringPair)* keyinfo_list);
     1.9  
    1.10      // Message API
    1.11  
    1.12 @@ -257,7 +257,7 @@
    1.13          pEp_enc_pEp                             // pEp encryption format
    1.14      } pEp_enc_format;
    1.15  
    1.16 -    [uuid(3A8A4F13-3402-4C4C-94AB-598D87869380)] struct opt_field {
    1.17 +    [uuid(3A8A4F13-3402-4C4C-94AB-598D87869380)] struct StringPair {
    1.18          BSTR name;
    1.19          BSTR value;
    1.20      };
    1.21 @@ -286,10 +286,10 @@
    1.22          SAFEARRAY(BSTR) references;
    1.23          SAFEARRAY(BSTR) keywords;
    1.24          BSTR comments;
    1.25 -        SAFEARRAY(struct opt_field) opt_fields;
    1.26 +        SAFEARRAY(struct StringPair) opt_fields;
    1.27      };
    1.28  
    1.29 -    HRESULT encrypt_message([in] struct text_message *src, [out] struct text_message * dst, [in] SAFEARRAY(BSTR) extra, [in, optional, defaultvalue(pEpEncryptFlagsNone)] pEpEncryptFlags flags);
    1.30 +    HRESULT encrypt_message([in] struct text_message *src, [out] struct text_message * dst, [in] SAFEARRAY(BSTR) extra, [in, defaultvalue(pEpEncryptFlagsNone)] pEpEncryptFlags flags);
    1.31      HRESULT decrypt_message([in] struct text_message *src, [out] struct text_message * dst, [out] SAFEARRAY(BSTR) *keylist, [out] pEpDecryptFlags* flags, [out, retval] pEp_rating *rating);
    1.32      HRESULT outgoing_message_rating([in] struct text_message *msg, [out, retval] pEp_rating * pVal);
    1.33      HRESULT identity_rating([in] struct pEp_identity_s * ident, [out, retval] pEp_rating * pVal);