adding newline at the end
authorVolker Birk <vb@pep-project.org>
Thu, 12 May 2016 20:03:58 +0200
changeset 61832fe7c8bee51
parent 617 0caa732cf9a4
child 619 f93107f46f92
adding newline at the end
src/sync_codec.c
src/sync_fsm.h
sync/Makefile
sync/gen_codec.ysl2
     1.1 --- a/src/sync_codec.c	Thu May 12 20:00:51 2016 +0200
     1.2 +++ b/src/sync_codec.c	Thu May 12 20:03:58 2016 +0200
     1.3 @@ -1,6 +1,6 @@
     1.4  // encoders and decoders state for DeviceGroup protocol
     1.5  
     1.6 -#include "pEpEngine.h"
     1.7 +#include "sync_fsm.h"
     1.8  
     1.9  // decoders
    1.10  
    1.11 @@ -12,4 +12,4 @@
    1.12  
    1.13  void createBeacon(const char **bufp, size_t *sizep);
    1.14  void createHandshakeRequest(const char **bufp, size_t *sizep, Identity partner);
    1.15 -void createOwnKeys(const char **bufp, size_t *sizep, Stringlist *ownKeys);
    1.16 \ No newline at end of file
    1.17 +void createOwnKeys(const char **bufp, size_t *sizep, Stringlist *ownKeys);
     2.1 --- a/src/sync_fsm.h	Thu May 12 20:00:51 2016 +0200
     2.2 +++ b/src/sync_fsm.h	Thu May 12 20:03:58 2016 +0200
     2.3 @@ -7,6 +7,7 @@
     2.4  // types
     2.5  
     2.6  typedef pEp_identity * Identity;
     2.7 +typedef stringlist_t * Stringlist;
     2.8  typedef union _param { const Identity partner; const stringlist_t *keylist; } param_t;
     2.9  
    2.10  // error values
     3.1 --- a/sync/Makefile	Thu May 12 20:00:51 2016 +0200
     3.2 +++ b/sync/Makefile	Thu May 12 20:03:58 2016 +0200
     3.3 @@ -1,3 +1,5 @@
     3.4 +all: ../src/sync_fsm.c ../src/sync_codec.c
     3.5 +
     3.6  ../src/sync_fsm.c: sync.fsm gen_statemachine.ysl2 fsm.yml2
     3.7  	yml2proc -y gen_statemachine.ysl2 $< -o $@
     3.8  
     4.1 --- a/sync/gen_codec.ysl2	Thu May 12 20:00:51 2016 +0200
     4.2 +++ b/sync/gen_codec.ysl2	Thu May 12 20:03:58 2016 +0200
     4.3 @@ -14,7 +14,7 @@
     4.4          ||
     4.5          // encoders and decoders state for «@name» protocol
     4.6  
     4.7 -        #include "pEpEngine.h"
     4.8 +        #include "sync_fsm.h"
     4.9  
    4.10          // decoders
    4.11  
    4.12 @@ -32,6 +32,9 @@
    4.13              with "pfx", "'create'";
    4.14              with "baseParms" > const char **bufp, size_t *sizep
    4.15          }
    4.16 +        ||
    4.17 +
    4.18 +        ||
    4.19      }
    4.20  
    4.21      def "xsl:typeOfActionParam" {