src/pEpEngine.h
branchENGINE-73
changeset 1019 e38a6ec264bd
parent 1017 555d74646dbf
child 1029 5b6af5b14d3a
     1.1 --- a/src/pEpEngine.h	Mon Aug 15 20:18:43 2016 +0200
     1.2 +++ b/src/pEpEngine.h	Mon Aug 15 21:06:38 2016 +0200
     1.3 @@ -646,19 +646,19 @@
     1.4      );
     1.5  
     1.6  
     1.7 -// find_keys() - find keys in keyring
     1.8 +// list_keys() - return identities for all keys in the keyring
     1.9  //
    1.10  //  parameters:
    1.11 -//      session (in)            session handle
    1.12 -//      key_email_pairs (out)   list of key id/primary email address pairs for 
    1.13 -//                              each available key (whether in management database 
    1.14 -//                              or not)
    1.15 +//      session (in)          session handle
    1.16 +//      id_list (out)         list of identities for each available key 
    1.17 +//                            (whether in management database 
    1.18 +//                             or not)
    1.19  //
    1.20  //  caveat: FIXME
    1.21 -//        the ownerships of keylist isgoing to the caller
    1.22 -//        the caller must use free_stringlist() to free it
    1.23 +//        the ownership of the identity list goes to the caller
    1.24 +//        the caller must use free_identity_list() to free it
    1.25  DYNAMIC_API PEP_STATUS list_keys(
    1.26 -        PEP_SESSION session, stringpair_list_t** key_email_pairs
    1.27 +        PEP_SESSION session, identity_list** id_list
    1.28      );
    1.29  
    1.30  // send_key() - send key(s) to keyserver