Kannel: Open Source WAP and SMS gateway  $Revision: 5037 $
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

#define ADDRTUPLE (   name)    WAPAddrTuple *name;

Definition at line 119 of file wtp_resp.h.

#define ENUM (   name)    resp_states name;

Definition at line 120 of file wtp_resp.h.

#define EVENT (   name)    WAPEvent *name;

Definition at line 121 of file wtp_resp.h.

#define INTEGER (   name)    int name;

Definition at line 117 of file wtp_resp.h.

#define LIST (   name)    List *name;

Definition at line 122 of file wtp_resp.h.

#define MACHINE (   field)    field

Definition at line 124 of file wtp_resp.h.

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

Definition at line 104 of file wtp_resp.h.

#define SAR_GROUP_LEN   3

Definition at line 94 of file wtp_resp.h.

#define SAR_SEGM_SIZE   1400

Definition at line 93 of file wtp_resp.h.

#define SARDATA (   name)    WTPSARData *name;

Definition at line 123 of file wtp_resp.h.

#define STATE_NAME (   state)    state,

Definition at line 103 of file wtp_resp.h.

#define TIMER (   name)    Timer *name;

Definition at line 118 of file wtp_resp.h.

Typedef Documentation

typedef enum resp_states resp_states

Definition at line 109 of file wtp_resp.h.

typedef struct sar_info_t sar_info_t

Definition at line 66 of file wtp_resp.h.

typedef struct WTPSARData WTPSARData

Enumeration Type Documentation

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.