LAR Library: step.h File Reference

LAR Library

step.h File Reference

State-machine for transaction processing. More...

#include <larlib/base.h>

Go to the source code of this file.

Data Structures

struct  stepAction_t
 Each action in the step machine. More...
 

Typedefs

typedef struct step_t step_t
 Opaque type of a handle to a step-machine.
 
typedef int(* stepFunction_t) (step_t *s, stepAction_t *a, void *c)
 Type signature of the function associated with each action on the step machine. More...
 

Functions

step_tstepCreate (stepAction_t *actions, int nactions)
 Create a new step machine. More...
 
int stepRun (step_t *s, void *c)
 Execute the step machine. More...
 
int stepGotoLabel (step_t *s, int label)
 Change the next action to be executed. More...
 
void stepDestroy (step_t *s)
 Release the resources associated with a step-machine. More...
 

Detailed Description

State-machine for transaction processing.

Generated on Mon Mar 27 2017 15:42:52 for LAR Library by   doxygen 1.8.9.1