... sync
authorVolker Birk <vb@pep.foundation>
Thu, 23 Aug 2018 18:13:34 +0200
branchsync
changeset 2889683eba0e3d81
parent 2888 5359f8f5cc5c
child 2890 93370e9026b1
...
src/message_api.c
sync/gen_statemachine.ysl2
     1.1 --- a/src/message_api.c	Thu Aug 23 17:14:41 2018 +0200
     1.2 +++ b/src/message_api.c	Thu Aug 23 18:13:34 2018 +0200
     1.3 @@ -7,7 +7,7 @@
     1.4  #include "platform.h"
     1.5  #include "mime.h"
     1.6  #include "blacklist.h"
     1.7 -#include "Sync_impl.h"
     1.8 +#include "KeySync_fsm.h"
     1.9  
    1.10  #include <assert.h>
    1.11  #include <string.h>
     2.1 --- a/sync/gen_statemachine.ysl2	Thu Aug 23 17:14:41 2018 +0200
     2.2 +++ b/sync/gen_statemachine.ysl2	Thu Aug 23 18:13:34 2018 +0200
     2.3 @@ -124,8 +124,8 @@
     2.4              #pragma once
     2.5  
     2.6              #include "fsm_common.h"
     2.7 +            #include "«@name»_event.h"
     2.8              #include "message_api.h"
     2.9 -            #include "«@name»_event.h"
    2.10              
    2.11              #ifdef __cplusplus
    2.12              extern "C" {
    2.13 @@ -179,8 +179,8 @@
    2.14                      int event
    2.15                  );
    2.16              
    2.17 -            // call this if you are a transport and are receiving a sync
    2.18 -            // message
    2.19 +            // call this if you are a transport and are receiving
    2.20 +            // a «@name» message
    2.21  
    2.22              PEP_STATUS signal_«@name»_message(
    2.23                      PEP_SESSION session,