Kannel: Open Source WAP and SMS gateway  $Revision: 5037 $
wtp_init.h File Reference
#include "gwlib/gwlib.h"
#include "wap_addr.h"
#include "wap_events.h"
#include "timers.h"
#include "wtp_init_states.def"
#include "wtp_init_machine.def"

Go to the source code of this file.

Data Structures

struct  WTPInitMachine
 

Macros

#define INIT_STATE_NAME(state)   state,
 
#define ROW(state, event, condition, action, next_state)
 
#define INTEGER(name)   int name;
 
#define EVENT(name)   WAPEvent *name;
 
#define TIMER(name)   Timer *name;
 
#define ADDRTUPLE(name)   WAPAddrTuple *name;
 
#define ENUM(name)   init_states name;
 
#define MACHINE(field)   field
 

Typedefs

typedef enum init_states init_states
 
typedef struct WTPInitMachine WTPInitMachine
 

Enumerations

enum  init_states { ROW, ROW }
 

Macro Definition Documentation

#define ADDRTUPLE (   name)    WAPAddrTuple *name;

Definition at line 94 of file wtp_init.h.

#define ENUM (   name)    init_states name;

Definition at line 95 of file wtp_init.h.

#define EVENT (   name)    WAPEvent *name;

Definition at line 92 of file wtp_init.h.

#define INIT_STATE_NAME (   state)    state,

Definition at line 77 of file wtp_init.h.

#define INTEGER (   name)    int name;

Definition at line 91 of file wtp_init.h.

#define MACHINE (   field)    field

Definition at line 96 of file wtp_init.h.

#define ROW (   state,
  event,
  condition,
  action,
  next_state 
)

Definition at line 78 of file wtp_init.h.

#define TIMER (   name)    Timer *name;

Definition at line 93 of file wtp_init.h.

Typedef Documentation

typedef enum init_states init_states

Definition at line 83 of file wtp_init.h.

Enumeration Type Documentation

Enumerator
ROW 
ROW 

Definition at line 76 of file wtp_init.h.

76  {
77  #define INIT_STATE_NAME(state) state,
78  #define ROW(state, event, condition, action, next_state)
79  #include "wtp_init_states.def"
80  init_states_count
81 };
See file LICENSE for details about the license agreement for using, modifying, copying or deriving work from this software.