src/pEpEngine.h
branchkeysync
changeset 1085 9db2d7650ddc
parent 1057 abff13590a4c
child 1086 3de792de7bba
     1.1 --- a/src/pEpEngine.h	Thu Aug 25 13:56:15 2016 +0200
     1.2 +++ b/src/pEpEngine.h	Mon Aug 29 10:50:48 2016 +0200
     1.3 @@ -75,6 +75,9 @@
     1.4      PEP_SYNC_NO_TRUSTWORDS_CALLBACK                 = 0x0901,
     1.5      PEP_SYNC_ILLEGAL_MESSAGE                        = 0x0902,
     1.6  
     1.7 +    PEP_SEQUENCE_VIOLATED                           = 0x0970,
     1.8 +    PEP_CANNOT_INCREASE_SEQUENCE                    = 0x0971,
     1.9 +
    1.10      PEP_SYNC_STATEMACHINE_ERROR                     = 0x0980,
    1.11      PEP_STATEMACHINE_INVALID_STATE                  = 0x0982,
    1.12      PEP_STATEMACHINE_INVALID_EVENT                  = 0x0983,
    1.13 @@ -859,12 +862,18 @@
    1.14  //
    1.15  //  parameters:
    1.16  //      session (in)            session handle
    1.17 -//      name (in)               name of sequence
    1.18 -//      value (out)             value of sequence
    1.19 +//      name (inout)            name of sequence or char[37] set to {0, }
    1.20 +//                              for new own sequence
    1.21 +//      value (inout)           value of sequence value to test or 0 for
    1.22 +//                              getting next value
    1.23 +//
    1.24 +//  returns:
    1.25 +//      PEP_STATUS_OK           if sequence not violated
    1.26 +//      PEP_SEQUENCE_VIOLATED   if sequence violated
    1.27  
    1.28  DYNAMIC_API PEP_STATUS sequence_value(
    1.29          PEP_SESSION session,
    1.30 -        const char *name,
    1.31 +        char *name,
    1.32          int32_t *value
    1.33      );
    1.34