sync/gen_actions_skeleton.ysl2
changeset 627 ef1fdfde8ced
parent 626 64a89bd12469
child 650 accc0ad7d32c
     1.1 --- a/sync/gen_actions_skeleton.ysl2	Sun May 15 16:23:31 2016 +0200
     1.2 +++ b/sync/gen_actions_skeleton.ysl2	Sun May 15 21:23:36 2016 +0200
     1.3 @@ -25,7 +25,7 @@
     1.4          static «@name»_state state = InitState;
     1.5          static Identity partner = NULL;
     1.6  
     1.7 -        state = fsm_«@name»(state, event, partner);
     1.8 +        state = fsm_«@name»(session, state, event, partner);
     1.9          return status;
    1.10      }
    1.11  
    1.12 @@ -49,13 +49,14 @@
    1.13          // «$action/@name»() - 
    1.14          //
    1.15          //  params:
    1.16 +        //      session (in)        session handle
    1.17          `` if "parm"        | //      partner (in)        partner in sync
    1.18          `` if "not(parm)"   | //      partner (in)        (must be NULL)
    1.19          //
    1.20          //  returns:
    1.21          //      PEP_STATUS_OK or any other value on error
    1.22  
    1.23 -        PEP_STATUS «$action/@name»(const Identity partner)
    1.24 +        PEP_STATUS «$action/@name»(PEP_SESSION session, const Identity partner)
    1.25          {
    1.26              PEP_STATUS status = PEP_STATUS_OK;
    1.27