Kannel: Open Source WAP and SMS gateway  svn-r5335
wtp_resp.h File Reference
#include "gwlib/gwlib.h"
#include "wap_events.h"
#include "timers.h"
#include "wtp_resp_states.def"
#include "wtp_resp_machine.def"

Go to the source code of this file.

Data Structures

struct  sar_info_t
 
struct  WTPSARData
 
struct  WTPRespMachine
 

Macros

#define SAR_SEGM_SIZE   1400
 
#define SAR_GROUP_LEN   3
 
#define STATE_NAME(state)   state,
 
#define ROW(state, event, condition, action, next_state)
 
#define INTEGER(name)   int name;
 
#define TIMER(name)   Timer *name;
 
#define ADDRTUPLE(name)   WAPAddrTuple *name;
 
#define ENUM(name)   resp_states name;
 
#define EVENT(name)   WAPEvent *name;
 
#define LIST(name)   List *name;
 
#define SARDATA(name)   WTPSARData *name;
 
#define MACHINE(field)   field
 

Typedefs

typedef struct WTPRespMachine WTPRespMachine
 
typedef struct sar_info_t sar_info_t
 
typedef struct WTPSARData WTPSARData
 
typedef enum resp_states resp_states
 

Enumerations

enum  resp_states { ROW, ROW }
 

Macro Definition Documentation

◆ ADDRTUPLE

#define ADDRTUPLE (   name)    WAPAddrTuple *name;

Definition at line 119 of file wtp_resp.h.

◆ ENUM

#define ENUM (   name)    resp_states name;

Definition at line 120 of file wtp_resp.h.

◆ EVENT

#define EVENT (   name)    WAPEvent *name;

Definition at line 121 of file wtp_resp.h.

◆ INTEGER

#define INTEGER (   name)    int name;

Definition at line 117 of file wtp_resp.h.

◆ LIST

#define LIST (   name)    List *name;

Definition at line 122 of file wtp_resp.h.

◆ MACHINE

#define MACHINE (   field)    field

Definition at line 124 of file wtp_resp.h.

◆ ROW

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

Definition at line 104 of file wtp_resp.h.

◆ SAR_GROUP_LEN

#define SAR_GROUP_LEN   3

Definition at line 94 of file wtp_resp.h.

◆ SAR_SEGM_SIZE

#define SAR_SEGM_SIZE   1400

Definition at line 93 of file wtp_resp.h.

◆ SARDATA

#define SARDATA (   name)    WTPSARData *name;

Definition at line 123 of file wtp_resp.h.

◆ STATE_NAME

#define STATE_NAME (   state)    state,

Definition at line 103 of file wtp_resp.h.

◆ TIMER

#define TIMER (   name)    Timer *name;

Definition at line 118 of file wtp_resp.h.

Typedef Documentation

◆ resp_states

typedef enum resp_states resp_states

Definition at line 109 of file wtp_resp.h.

◆ sar_info_t

typedef struct sar_info_t sar_info_t

◆ WTPRespMachine

Definition at line 66 of file wtp_resp.h.

◆ WTPSARData

typedef struct WTPSARData WTPSARData

Enumeration Type Documentation

◆ resp_states

Enumerator
ROW 
ROW 

Definition at line 102 of file wtp_resp.h.

102  {
103  #define STATE_NAME(state) state,
104  #define ROW(state, event, condition, action, next_state)
105  #include "wtp_resp_states.def"
106  resp_states_count
107 };
See file LICENSE for details about the license agreement for using, modifying, copying or deriving work from this software.