Kannel: Open Source WAP and SMS gateway
svn-r5336
|
#include "gwlib/gwlib.h"
#include "wap_addr.h"
#include "wap_events.h"
#include "wsp_server_session_machine.def"
#include "wsp_server_method_machine.def"
#include "wsp_server_push_machine.def"
Go to the source code of this file.
Data Structures | |
struct | WSPMachine |
struct | WSPMethodMachine |
struct | WSPPushMachine |
Macros | |
#define | INTEGER(name) long name; |
#define | OCTSTR(name) Octstr *name; |
#define | HTTPHEADERS(name) List *name; |
#define | ADDRTUPLE(name) WAPAddrTuple *name; |
#define | COOKIES(name) List *name; |
#define | REFERER(name) Octstr *name; |
#define | MACHINESLIST(name) List *name; |
#define | CAPABILITIES(name) List *name; |
#define | MACHINE(fields) fields |
#define | INTEGER(name) long name; |
#define | ADDRTUPLE(name) WAPAddrTuple *name; |
#define | EVENT(name) WAPEvent *name; |
#define | MACHINE(fields) fields |
#define | INTEGER(name) long name; |
#define | ADDRTUPLE(name) WAPAddrTuple *name; |
#define | HTTPHEADER(name) List *name; |
#define | MACHINE(fields) fields |
Typedefs | |
typedef struct WSPMachine | WSPMachine |
typedef struct WSPMethodMachine | WSPMethodMachine |
typedef struct WSPPushMachine | WSPPushMachine |
Enumerations | |
enum | wsp_encoding { WSP_TBD = 0, WSP_1_1 = 1, WSP_1_2 = 2, WSP_1_3 = 3, WSP_1_4 = 4, WSP_1_5 = 5, WSP_1_6 = 6 } |
enum | wsp_abort_values { WSP_ABORT_PROTOERR = 0xe0, WSP_ABORT_DISCONNECT = 0xe1, WSP_ABORT_SUSPEND = 0xe2, WSP_ABORT_RESUME = 0xe3, WSP_ABORT_CONGESTION = 0xe4, WSP_ABORT_CONNECTERR = 0xe5, WSP_ABORT_MRUEXCEEDED = 0xe6, WSP_ABORT_MOREXCEEDED = 0xe7, WSP_ABORT_PEERREQ = 0xe8, WSP_ABORT_NETERR = 0xe9, WSP_ABORT_USERREQ = 0xea, WSP_ABORT_USERRFS = 0xeb, WSP_ABORT_USERPND = 0xec, WSP_ABORT_USERDCR = 0xed, WSP_ABORT_USERDCU = 0xee } |
Functions | |
long | wsp_convert_http_status_to_wsp_status (long http_status) |
WSPMachine * | find_session_machine_by_id (int) |
#define ADDRTUPLE | ( | name | ) | WAPAddrTuple *name; |
#define ADDRTUPLE | ( | name | ) | WAPAddrTuple *name; |
#define ADDRTUPLE | ( | name | ) | WAPAddrTuple *name; |
typedef struct WSPMachine WSPMachine |
typedef struct WSPMethodMachine WSPMethodMachine |
typedef struct WSPPushMachine WSPPushMachine |
enum wsp_abort_values |
Definition at line 80 of file wsp.h.
enum wsp_encoding |
WSPMachine* find_session_machine_by_id | ( | int | ) |
Definition at line 1434 of file wsp_session.c.
References gwlist_search(), id_belongs_to_session(), and session_machines.
Referenced by return_reply(), and start_fetch().
long wsp_convert_http_status_to_wsp_status | ( | long | http_status | ) |
Definition at line 77 of file wsp.c.
References error().
Referenced by make_resume_reply_pdu(), and pack_into_result_datagram().