sync/gen_statemachine.ysl2
changeset 626 64a89bd12469
parent 623 533a7fcc423b
child 627 ef1fdfde8ced
     1.1 --- a/sync/gen_statemachine.ysl2	Sun May 15 16:01:18 2016 +0200
     1.2 +++ b/sync/gen_statemachine.ysl2	Sun May 15 16:23:31 2016 +0200
     1.3 @@ -46,6 +46,14 @@
     1.4  
     1.5          `` for "func:distinctName(//action)" | PEP_STATUS «@name»(const Identity partner);
     1.6  
     1.7 +        // state machine
     1.8 +
     1.9 +        «@name»_state fsm_«@name»(
    1.10 +                «@name»_state state,
    1.11 +                «@name»_event event,
    1.12 +                const Identity partner
    1.13 +            );
    1.14 +
    1.15          // driver
    1.16  
    1.17          PEP_STATUS fsm_«@name»_inject(PEP_SESSION session, «@name»_event event);