src/pEpEngine.h
branchENGINE-140_exclude_identity_from_sync
changeset 1406 8d8ae9657388
parent 1394 8659157b681f
child 1425 74ee50b89619
child 1429 86c0e9def29c
     1.1 --- a/src/pEpEngine.h	Wed Nov 16 17:38:27 2016 +0100
     1.2 +++ b/src/pEpEngine.h	Fri Nov 18 00:13:40 2016 +0100
     1.3 @@ -590,6 +590,25 @@
     1.4          unsigned int flags
     1.5      );
     1.6  
     1.7 +// unset_identity_flags() - update identity flags on existing identity
     1.8 +//
     1.9 +//    parameters:
    1.10 +//        session (in)        session handle
    1.11 +//        identity (in,out)   pointer to pEp_identity structure
    1.12 +//        flags (in)          new value for flags
    1.13 +//
    1.14 +//    return value:
    1.15 +//        PEP_STATUS_OK = 0             encryption and signing succeeded
    1.16 +//        PEP_CANNOT_SET_IDENTITY       update of identity failed
    1.17 +//
    1.18 +//    caveat:
    1.19 +//        address and user_id must be given in identity
    1.20 +
    1.21 +DYNAMIC_API PEP_STATUS unset_identity_flags(
    1.22 +        PEP_SESSION session,
    1.23 +        pEp_identity *identity,
    1.24 +        unsigned int flags
    1.25 +    );
    1.26  
    1.27  // mark_as_compromized() - mark key in trust db as compromized
    1.28  //