src/pEp_internal.h
branchkeysync
changeset 1236 991afc1aa2a1
parent 1235 cfc9214a60a5
child 1275 39dfd55d21ee
     1.1 --- a/src/pEp_internal.h	Fri Sep 30 17:25:15 2016 +0200
     1.2 +++ b/src/pEp_internal.h	Mon Oct 03 19:08:15 2016 +0200
     1.3 @@ -77,8 +77,6 @@
     1.4  
     1.5  #define NOT_IMPLEMENTED assert(0); return PEP_UNKNOWN_ERROR;
     1.6  
     1.7 -extern char sync_uuid[37];
     1.8 -
     1.9  typedef struct _pEpSession {
    1.10      const char *version;
    1.11  #ifdef USE_GPG
    1.12 @@ -126,7 +124,7 @@
    1.13      sqlite3_stmt *sequence_value2;
    1.14      sqlite3_stmt *sequence_value3;
    1.15  
    1.16 -    // sequence value
    1.17 +    // revoked keys
    1.18      sqlite3_stmt *set_revoked;
    1.19      sqlite3_stmt *get_revoked;
    1.20  
    1.21 @@ -139,8 +137,9 @@
    1.22      inject_sync_msg_t inject_sync_msg;
    1.23      retrieve_next_sync_msg_t retrieve_next_sync_msg;
    1.24  
    1.25 -    // state machines
    1.26 +    // key sync
    1.27      DeviceState_state sync_state;
    1.28 +    char sync_uuid[37];
    1.29  
    1.30      // runtime config
    1.31