src/pEpEngine.h
branchENGINE-84
changeset 1357 b1677cd84729
parent 1316 942c9943ae9d
child 1377 20be7d9a7536
     1.1 --- a/src/pEpEngine.h	Sun Nov 06 22:55:37 2016 +0100
     1.2 +++ b/src/pEpEngine.h	Tue Nov 08 00:12:17 2016 +0100
     1.3 @@ -999,6 +999,20 @@
     1.4      );
     1.5  
     1.6  
     1.7 +// find_keys() - find keys in keyring
     1.8 +//
     1.9 +//  parameters:
    1.10 +//      session (in)            session handle
    1.11 +//      pattern (in)            key id, user id or address to search for as
    1.12 +//                              UTF-8 string
    1.13 +//      keylist (out)           list of fingerprints found or NULL on error
    1.14 +//
    1.15 +//  caveat:
    1.16 +//        the ownerships of keylist isgoing to the caller
    1.17 +//        the caller must use free_stringlist() to free it
    1.18 +PEP_STATUS find_private_keys(PEP_SESSION session, const char* pattern,
    1.19 +                             stringlist_t **keylist);
    1.20 +
    1.21  // get_engine_version() - returns the current version of pEpEngine (this is different
    1.22  //                        from the pEp protocol version!)
    1.23  //