Kannel: Open Source WAP and SMS gateway  svn-r5335
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

◆ ADDRTUPLE

#define ADDRTUPLE (   name)    WAPAddrTuple *name;

Definition at line 94 of file wtp_init.h.

◆ ENUM

#define ENUM (   name)    init_states name;

Definition at line 95 of file wtp_init.h.

◆ EVENT

#define EVENT (   name)    WAPEvent *name;

Definition at line 92 of file wtp_init.h.

◆ INIT_STATE_NAME

#define INIT_STATE_NAME (   state)    state,

Definition at line 77 of file wtp_init.h.

◆ INTEGER

#define INTEGER (   name)    int name;

Definition at line 91 of file wtp_init.h.

◆ MACHINE

#define MACHINE (   field)    field

Definition at line 96 of file wtp_init.h.

◆ ROW

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

Definition at line 78 of file wtp_init.h.

◆ TIMER

#define TIMER (   name)    Timer *name;

Definition at line 93 of file wtp_init.h.

Typedef Documentation

◆ init_states

typedef enum init_states init_states

Definition at line 83 of file wtp_init.h.

◆ WTPInitMachine

Enumeration Type Documentation

◆ init_states

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.