moving #include and installing headers keysync
authorVolker Birk <vb@pep.foundation>
Mon, 08 Aug 2016 17:32:51 +0200
branchkeysync
changeset 985087d5d60c082
parent 984 573cdd592595
child 986 8f85f70bdd75
moving #include and installing headers
src/Makefile
src/sync_actions.c
src/sync_fsm.h
src/sync_send_actions.c
sync/gen_actions_skeleton.ysl2
sync/gen_statemachine.ysl2
     1.1 --- a/src/Makefile	Mon Aug 08 16:43:37 2016 +0200
     1.2 +++ b/src/Makefile	Mon Aug 08 17:32:51 2016 +0200
     1.3 @@ -88,7 +88,7 @@
     1.4  install: $(TARGET)
     1.5  	cp $< $(PREFIX)/lib/
     1.6  	mkdir -p $(PREFIX)/include/pEp
     1.7 -	cp pEpEngine.h keymanagement.h message_api.h dynamic_api.h stringlist.h timestamp.h identity_list.h bloblist.h stringpair.h message.h mime.h cryptotech.h sync.h $(PREFIX)/include/pEp/
     1.8 +	cp pEpEngine.h keymanagement.h message_api.h dynamic_api.h stringlist.h timestamp.h identity_list.h bloblist.h stringpair.h message.h mime.h cryptotech.h sync.h sync_fsm.h $(PREFIX)/include/pEp/
     1.9  
    1.10  uninstall:
    1.11  	rm -f $(PREFIX)/lib/$(TARGET)
     2.1 --- a/src/sync_actions.c	Mon Aug 08 16:43:37 2016 +0200
     2.2 +++ b/src/sync_actions.c	Mon Aug 08 17:32:51 2016 +0200
     2.3 @@ -5,6 +5,7 @@
     2.4  #include "message.h"
     2.5  #include "sync_fsm.h"
     2.6  #include "map_asn1.h"
     2.7 +#include "../asn.1/DeviceGroup-Protocol.h"
     2.8  
     2.9  // conditions
    2.10  
     3.1 --- a/src/sync_fsm.h	Mon Aug 08 16:43:37 2016 +0200
     3.2 +++ b/src/sync_fsm.h	Mon Aug 08 17:32:51 2016 +0200
     3.3 @@ -4,7 +4,6 @@
     3.4  
     3.5  #include "pEpEngine.h"
     3.6  #include "message.h"
     3.7 -#include "../asn.1/DeviceGroup-Protocol.h"
     3.8  
     3.9  #ifdef __cplusplus
    3.10  extern "C" {
     4.1 --- a/src/sync_send_actions.c	Mon Aug 08 16:43:37 2016 +0200
     4.2 +++ b/src/sync_send_actions.c	Mon Aug 08 17:32:51 2016 +0200
     4.3 @@ -7,6 +7,7 @@
     4.4  #include "sync_fsm.h"
     4.5  #include "baseprotocol.h"
     4.6  #include "map_asn1.h"
     4.7 +#include "../asn.1/DeviceGroup-Protocol.h"
     4.8  #include "../asn.1/Beacon.h"
     4.9  #include "../asn.1/HandshakeRequest.h"
    4.10  #include "../asn.1/GroupKeys.h"
     5.1 --- a/sync/gen_actions_skeleton.ysl2	Mon Aug 08 16:43:37 2016 +0200
     5.2 +++ b/sync/gen_actions_skeleton.ysl2	Mon Aug 08 17:32:51 2016 +0200
     5.3 @@ -27,6 +27,7 @@
     5.4          #include "«@filename»_fsm.h"
     5.5          #include "baseprotocol.h"
     5.6          #include "map_asn1.h"
     5.7 +        #include "../asn.1/DeviceGroup-Protocol.h"
     5.8          ||
     5.9          for "func:distinctName(//action)"
    5.10              if "substring(@name, 1, 4) = 'send'"
    5.11 @@ -51,6 +52,7 @@
    5.12          #include "keymanagement.h"
    5.13          #include "message.h"
    5.14          #include "«@filename»_fsm.h"
    5.15 +        #include "../asn.1/DeviceGroup-Protocol.h"
    5.16  
    5.17          ||
    5.18          for "func:distinctName(//action)"
     6.1 --- a/sync/gen_statemachine.ysl2	Mon Aug 08 16:43:37 2016 +0200
     6.2 +++ b/sync/gen_statemachine.ysl2	Mon Aug 08 17:32:51 2016 +0200
     6.3 @@ -30,7 +30,6 @@
     6.4  
     6.5          #include "pEpEngine.h"
     6.6          #include "message.h"
     6.7 -        #include "../asn.1/«../@name»-Protocol.h"
     6.8          
     6.9          #ifdef __cplusplus
    6.10          extern "C" {