#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"Include dependency graph for wsp.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 79 of file wsp.h. 00079 {
00080 WSP_ABORT_PROTOERR = 0xe0,
00081 WSP_ABORT_DISCONNECT = 0xe1,
00082 WSP_ABORT_SUSPEND = 0xe2,
00083 WSP_ABORT_RESUME = 0xe3,
00084 WSP_ABORT_CONGESTION = 0xe4,
00085 WSP_ABORT_CONNECTERR = 0xe5,
00086 WSP_ABORT_MRUEXCEEDED = 0xe6,
00087 WSP_ABORT_MOREXCEEDED = 0xe7,
00088 WSP_ABORT_PEERREQ = 0xe8,
00089 WSP_ABORT_NETERR = 0xe9,
00090 WSP_ABORT_USERREQ = 0xea,
00091 WSP_ABORT_USERRFS = 0xeb,
00092 WSP_ABORT_USERPND = 0xec,
00093 WSP_ABORT_USERDCR = 0xed,
00094 WSP_ABORT_USERDCU = 0xee
00095 };
|
|
|
Definition at line 69 of file wsp.h. 00069 {
00070 WSP_1_1 = 1,
00071 WSP_1_2 = 2,
00072 WSP_1_3 = 3,
00073 WSP_1_4 = 4,
00074 WSP_1_5 = 5,
00075 WSP_1_6 = 6,
00076 } wsp_encoding;
|
|
|
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(). 01434 {
01435
01436 return gwlist_search(session_machines, &id, id_belongs_to_session);
01437 }
|
Here is the call graph for this function:

|
|
Definition at line 77 of file wsp.c. References error(). Referenced by make_resume_reply_pdu(), and pack_into_result_datagram(). 00077 {
00078 long hundreds, singles;
00079
00080 /*
00081 * The table is regular, and can be expected to stay regular in
00082 * future versions of WSP. The status value is read as XYY,
00083 * so that X is the first digit and Y is the value of the
00084 * second two digits. This is encoded as a hex value 0xAB,
00085 * where A == X and B == YY.
00086 * This limits YY to the range 0-15, so an exception is made
00087 * to allow larger YY values when X is 4. X value 5 is moved up
00088 * to A value 6 to allow more room for YY when X is 4.
00089 */
00090
00091 hundreds = http_status / 100;
00092 singles = http_status % 100;
00093
00094 if ((hundreds == 4 && singles > 31) ||
00095 (hundreds != 4 && singles > 15) ||
00096 hundreds < 1 || hundreds > 5)
00097 goto bad_status;
00098
00099 if (hundreds > 4)
00100 hundreds++;
00101
00102 return hundreds * 16 + singles;
00103
00104 bad_status:
00105 error(0, "WSP: Unknown status code used internally. Oops.");
00106 return 0x60; /* Status 500, or "Internal Server Error" */
00107 }
|
Here is the call graph for this function:
