src/pEpEngine.h
changeset 1507 cee84fad7f33
parent 1467 ff7c60d14af0
child 1513 e7f7e42385b5
     1.1 --- a/src/pEpEngine.h	Tue Dec 20 22:51:41 2016 +0100
     1.2 +++ b/src/pEpEngine.h	Wed Dec 21 02:02:11 2016 +0100
     1.3 @@ -805,6 +805,26 @@
     1.4  DYNAMIC_API PEP_STATUS get_trust(PEP_SESSION session, pEp_identity *identity);
     1.5  
     1.6  
     1.7 +// greater_trust_keys() - user_id's keys with trust greater than given trust 
     1.8 +//
     1.9 +//  parameters:
    1.10 +//      session (in)            session handle
    1.11 +//      user_id (in)            UTF-8 string or NULL 
    1.12 +//      min_comm_type (in       key id, user id or address to search for as
    1.13 +//                              UTF-8 string
    1.14 +//      keylist (out)           list of fingerprints found or NULL on error
    1.15 +//
    1.16 +//  caveat:
    1.17 +//        the ownerships of keylist isgoing to the caller
    1.18 +//        the caller must use free_stringlist() to free it
    1.19 +
    1.20 +DYNAMIC_API PEP_STATUS greater_trust_keys(
    1.21 +        PEP_SESSION session,
    1.22 +        const char *user_id,
    1.23 +        PEP_comm_type min_comm_type,
    1.24 +        stringlist_t **keylist
    1.25 +    );
    1.26 +
    1.27  // least_trust() - get the least known trust level for a key in the database
    1.28  //
    1.29  //  parameters: