renaming
authorVolker Birk <vb@pep-project.org>
Sun, 15 May 2016 16:01:18 +0200
changeset 62599e0c66655ad
parent 624 4892dffa9e70
child 626 64a89bd12469
renaming
src/fsm_driver.c
src/sync_driver.c
sync/gen_actions_skeleton.ysl2
     1.1 --- a/src/fsm_driver.c	Sun May 15 15:41:44 2016 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,21 +0,0 @@
     1.4 -// Driver for DeviceState state machine
     1.5 -
     1.6 -#include <assert.h>
     1.7 -#include "sync_fsm.h"
     1.8 -
     1.9 -
    1.10 -PEP_STATUS fsm_DeviceState_inject(PEP_SESSION session, DeviceState_event event)
    1.11 -{
    1.12 -    PEP_STATUS status = PEP_STATUS_OK;
    1.13 -
    1.14 -    assert(session);
    1.15 -    if (!session)
    1.16 -        return PEP_ILLEGAL_VALUE;
    1.17 -
    1.18 -    static DeviceState_state fsm_state = InitState;
    1.19 -
    1.20 -    // working code
    1.21 -
    1.22 -
    1.23 -    return status;
    1.24 -}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/src/sync_driver.c	Sun May 15 16:01:18 2016 +0200
     2.3 @@ -0,0 +1,21 @@
     2.4 +// Driver for DeviceState state machine
     2.5 +
     2.6 +#include <assert.h>
     2.7 +#include "sync_fsm.h"
     2.8 +
     2.9 +
    2.10 +PEP_STATUS fsm_DeviceState_inject(PEP_SESSION session, DeviceState_event event)
    2.11 +{
    2.12 +    PEP_STATUS status = PEP_STATUS_OK;
    2.13 +
    2.14 +    assert(session);
    2.15 +    if (!session)
    2.16 +        return PEP_ILLEGAL_VALUE;
    2.17 +
    2.18 +    static DeviceState_state fsm_state = InitState;
    2.19 +
    2.20 +    // working code
    2.21 +
    2.22 +
    2.23 +    return status;
    2.24 +}
     3.1 --- a/sync/gen_actions_skeleton.ysl2	Sun May 15 15:41:44 2016 +0200
     3.2 +++ b/sync/gen_actions_skeleton.ysl2	Sun May 15 16:01:18 2016 +0200
     3.3 @@ -10,7 +10,7 @@
     3.4      include ./functions.ysl2
     3.5  
     3.6      template "/protocol/fsm" {
     3.7 -    document "../src/fsm_driver.c", "text"
     3.8 +    document "../src/sync_driver.c", "text"
     3.9      ||
    3.10      // Driver for «@name» state machine
    3.11