Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields   Globals  

action.h File Reference

action handling. More...

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Data Structures

struct  plint_com_t
 communication between action automata states. More...

struct  _plint_act
 action automata type. More...


Defines

#define PLINT_ACT_IN(__a__)   ((__a__).in)
 addresses the in member. More...

#define PLINT_ACT_OUT(__a__)   ((__a__).out)
 addresses the out member. More...

#define PLINT_ACT_GET_TYPE(__a__)   (PLINT_ACT_IN (__a__) .type)
 reads the action automata current state. More...

#define PLINT_ACT_SET_TYPE(__a__, __t__)   (PLINT_ACT_OUT (__a__) .type = __t__)
 changes the action automata current state to __t_. More...

#define PLINT_ACT_DO_DONE(__a__, __v__)   PLINT_ACT_SET_TYPE((__a__), PLINT_ACT_DONE), PLINT_ACT_OUT(__a__) .data = (__v__)
 sets the action to the PLINT_ACT_DONE state, and prepares the result as variable __v__. More...

#define PLINT_ACT_DO_CALL(__a__, __m__)   PLINT_ACT_SET_TYPE((__a__), PLINT_ACT_CALL), PLINT_ACT_OUT(__a__) .data = plint_bar_new(plint_str_ptr(__m__))
 sets the action automata to the PLINT_ACT_CALL state, and prepares the result as string __m__. More...

#define PLINT_ACT_DO_SEEK(__a__, __m__)   PLINT_ACT_SET_TYPE((__a__), PLINT_ACT_SEEK), PLINT_ACT_OUT(__a__) .data = plint_bar_new(plint_str_ptr(__m__))
 sets the action automata to the PLINT_ACT_SEEK state, and prepares the result as string __m__. More...

#define PLINT_ACT_GET_RESULT(__a__)   (PLINT_ACT_IN(__a__) .data)
 gets the result of the state transitions. More...

#define PLINT_ACT_GET_STRING(__a__)   (plint_var_str(PLINT_ACT_IN(__a__) .data))
 gets the result of the state transitions. More...

#define PLINT_ACT_GET_MEMS(__a__)   ((__a__).oper.mems)
 addresses the oper.mems member of __a__. More...

#define PLINT_ACT_GET_SELF(__a__)   ((__a__).oper.self)
 addresses the oper.self member of __a__. More...

#define PLINT_ACT_GET_OPER(__a__)   ((__a__).oper.type)
 addresses the oper.type member of __a__. More...

#define PLINT_ACT_GET_PARM(__a__)   ((__a__).oper.parm)
 addresses the oper.parm member of __a__. More...


Typedefs

typedef _plint_act plint_act_t
 action automata type.


Enumerations

enum  plint_eact_t {
  PLINT_ACT_NONE, PLINT_ACT_INIT, PLINT_ACT_DONE, PLINT_ACT_CALL,
  PLINT_ACT_SEEK, PLINT_ACT_ABRT
}
 possible action states. More...


Functions

void plint_com_free (plint_com_t *PCOMMUNICATION)
void plint_act_free (plint_act_t *PACTION)


Detailed Description

action handling.

Author:
Sebastian Glita

Definition in file action.h.


Generated on Thu Jan 9 19:02:40 2003 for plint by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002