src/pEpEngine.h
changeset 1370 274b7141afb6
parent 1365 9e45d9a7583b
parent 1369 9df1ba0ecf18
child 1381 f84211f27e5b
     1.1 --- a/src/pEpEngine.h	Wed Nov 09 15:28:45 2016 +0100
     1.2 +++ b/src/pEpEngine.h	Thu Nov 10 21:10:24 2016 +0100
     1.3 @@ -92,8 +92,8 @@
     1.4      PEP_STATEMACHINE_INHIBITED_EVENT                = 0x0986,
     1.5  
     1.6      PEP_COMMIT_FAILED                               = 0xff01,
     1.7 -    PEP_MESSAGE_CONSUMED                            = 0xff02,
     1.8 -    PEP_MESSAGE_DISCARDED                           = 0xff03,
     1.9 +    PEP_MESSAGE_CONSUME                            = 0xff02,
    1.10 +    PEP_MESSAGE_IGNORE                           = 0xff03,
    1.11  
    1.12      PEP_RECORD_NOT_FOUND                            = -6,
    1.13      PEP_CANNOT_CREATE_TEMP_FILE                     = -5,
    1.14 @@ -421,6 +421,15 @@
    1.15  
    1.16  typedef unsigned int identity_flags_t;
    1.17  
    1.18 +typedef enum _keypair_flags {
    1.19 +    // the first octet flags are app defined settings
    1.20 +
    1.21 +    // the second octet flags are calculated
    1.22 +    PEP_kpf_own_key = 512   // key (was) used for own identity
    1.23 +} keypair_flags;
    1.24 +
    1.25 +typedef unsigned int keypair_flags_t;
    1.26 +
    1.27  typedef struct _pEp_identity {
    1.28      char *address;              // C string with address UTF-8 encoded
    1.29      char *fpr;                  // C string with fingerprint UTF-8 encoded