wap_events.def
来自「mms client」· DEF 代码 · 共 837 行 · 第 1/2 页
DEF
837 行
/* * wap_events.def - definitions for wapbox events * * This file uses a pre-processor trick to define the structure of * structures. See the documentation. * * Fields of type HTTPHEADER, CAPABILITIES, and OPTIONAL_OCTSTR may * be NULL. All other fields must be filled in, unless they are * otherwise marked. * * Fields described in the appropriate spec are listed first. Fields * specific to Kannel are introduced with an empty line. In some events, * we have combined fields to form an "address tuple" (see wap_addr.h). * * Aarno Syv鋘en * Lars Wirzenius *//* WTLS material - make sure the addr_tuple comes first! */WAPEVENT(T_Unitdata_Ind, "T-Unitdata.ind", ADDRTUPLE(addr_tuple) WTLSPDUS(pdu_list) )WAPEVENT(SEC_Create_Ind, "SEC-Create.ind", ADDRTUPLE(addr_tuple) )WAPEVENT(SEC_Create_Request_Req, "SEC-Create.req", ADDRTUPLE(addr_tuple) )WAPEVENT(SEC_Terminate_Req, "SEC-Terminate.req", ADDRTUPLE(addr_tuple) INTEGER(alert_level) INTEGER(alert_desc) )WAPEVENT(SEC_Exception_Req, "SEC-Exception.req", ADDRTUPLE(addr_tuple) INTEGER(alert_level) INTEGER(alert_desc) )WAPEVENT(SEC_Create_Res, "SEC-Create.res", ADDRTUPLE(addr_tuple) INTEGER(client_key_id) INTEGER(bulk_cipher_algo) INTEGER(mac_algo) INTEGER(snmode) INTEGER(krefresh) )WAPEVENT(SEC_Exchange_Req, "SEC-Exchange.req", ADDRTUPLE(addr_tuple) )WAPEVENT(SEC_Commit_Req, "SEC-Commit.req", ADDRTUPLE(addr_tuple) )WAPEVENT(SEC_Unitdata_Req, "SEC-Unidata.req", ADDRTUPLE(addr_tuple) OCTSTR(user_data) )/* * Transport layer (WDP) */WAPEVENT(T_DUnitdata_Req, "T-DUnitdata.req", ADDRTUPLE(addr_tuple) OCTSTR(user_data) INTEGER(address_type) OPTIONAL_OCTSTR(smsc_id) )WAPEVENT(T_DUnitdata_Ind, "T-DUnitdata.ind", ADDRTUPLE(addr_tuple) OCTSTR(user_data) )/* * Transaction layer (WTP) */WAPEVENT(TR_Invoke_Req, "TR-Invoke.req", ADDRTUPLE(addr_tuple) INTEGER(up_flag) OCTSTR(user_data) INTEGER(tcl) INTEGER(handle) )WAPEVENT(TR_Invoke_Ind, "TR-Invoke.ind", INTEGER(ack_type) OCTSTR(user_data) INTEGER(tcl) ADDRTUPLE(addr_tuple) INTEGER(handle) )WAPEVENT(TR_Invoke_Res, "TR-Invoke.res", INTEGER(handle) )WAPEVENT(TR_Invoke_Cnf, "TR-Invoke.cnf", INTEGER(handle) ADDRTUPLE(addr_tuple) )WAPEVENT(TR_Result_Req, "TR-Result.req", OCTSTR(user_data) INTEGER(handle) )WAPEVENT(TR_Result_Cnf, "TR-Result.cnf", INTEGER(handle) ADDRTUPLE(addr_tuple) )WAPEVENT(TR_Result_Ind, "TR-Result.ind", OCTSTR(user_data) INTEGER(handle) ADDRTUPLE(addr_tuple) )WAPEVENT(TR_Result_Res, "TR-Result.res", OCTSTR(user_data) INTEGER(handle) )WAPEVENT(TR_Abort_Req, "TR-Abort.req", INTEGER(abort_type) INTEGER(abort_reason) INTEGER(handle) ) WAPEVENT(TR_Abort_Ind, "TR-Abort.ind", INTEGER(abort_code) INTEGER(handle) ADDRTUPLE(addr_tuple) INTEGER(ir_flag) /* Are we an initiator or a responder */ )/* * Session layer (WSP), server side * These events use the session id as a handle. */WAPEVENT(S_Connect_Ind, "S-Connect.ind", ADDRTUPLE(addr_tuple) HTTPHEADER(client_headers) CAPABILITIES(requested_capabilities) INTEGER(session_id) )WAPEVENT(S_Connect_Res, "S-Connect.res", HTTPHEADER(server_headers) CAPABILITIES(negotiated_capabilities) INTEGER(session_id) )WAPEVENT(S_Suspend_Ind, "S-Suspend.ind", INTEGER(reason) INTEGER(session_id) )WAPEVENT(S_Resume_Ind, "S-Resume.ind", ADDRTUPLE(addr_tuple) HTTPHEADER(client_headers) INTEGER(session_id) )WAPEVENT(S_Resume_Res, "S-Resume.res", HTTPHEADER(server_headers) INTEGER(session_id) )/* * Session layer (WSP), client side */WAPEVENT(S_Connect_Req, "S-Connect.req", ADDRTUPLE(addr_tuple) HTTPHEADER(client_headers) CAPABILITIES(requested_capabilities) INTEGER(session_handle) )WAPEVENT(S_Connect_Cnf, "S-Connect.cnf", HTTPHEADER(server_headers) CAPABILITIES(negotiated_capabilities) INTEGER(session_handle) )WAPEVENT(S_Suspend_Req, "S-Suspend.req", INTEGER(session_handle) )WAPEVENT(S_Resume_Req, "S-Resume.req", ADDRTUPLE(addr_tuple) HTTPHEADER(client_headers) INTEGER(session_handle) )WAPEVENT(S_Resume_Cnf, "S-Resume.cnf", HTTPHEADER(server_headers) INTEGER(session_handle) )/* * Session layer (WSP), events shared between server and client side * On the server side, the "handle" field is always the session id. */WAPEVENT(S_Disconnect_Req, "S-Disconnect.req", INTEGER(reason_code) INTEGER(redirect_security) /* Only meaningful if redirecting */ INTEGER(redirect_addresses) /* FIXME: Wrong type, not used */ OPTIONAL_OCTSTR(error_headers) OPTIONAL_OCTSTR(error_body) INTEGER(session_handle) )WAPEVENT(S_Disconnect_Ind, "S-Disconnect.ind", INTEGER(reason_code) INTEGER(redirect_security) /* Only meaningful if redirecting */ INTEGER(redirect_addresses) /* FIXME: Wrong type, not used */ OPTIONAL_OCTSTR(error_headers) OPTIONAL_OCTSTR(error_body) INTEGER(session_handle) )/* * Pseudo-events used by session layer */WAPEVENT(Disconnect_Event, "Disconnect", INTEGER(session_handle) )/* GET */WAPEVENT(Suspend_Event, "Suspend", INTEGER(session_handle) )WAPEVENT(Release_Event, "Release", INTEGER(dummy) )WAPEVENT(Abort_Event, "Abort", INTEGER(reason) )/* * Per-method events for session layer, server side */WAPEVENT(S_MethodInvoke_Ind, "S-MethodInvoke.ind", INTEGER(server_transaction_id) OCTSTR(method) /* All caps */ OCTSTR(request_uri) HTTPHEADER(request_headers) OPTIONAL_OCTSTR(request_body) HTTPHEADER(session_headers) ADDRTUPLE(addr_tuple) INTEGER(client_SDU_size) INTEGER(session_id) )WAPEVENT(S_MethodInvoke_Res, "S-MethodInvoke.res", INTEGER(server_transaction_id) INTEGER(session_id) )WAPEVENT(S_MethodResult_Req, "S-MethodResult.req", INTEGER(server_transaction_id) INTEGER(status) HTTPHEADER(response_headers) OPTIONAL_OCTSTR(response_body) INTEGER(session_id) )WAPEVENT(S_MethodResult_Cnf, "S-MethodResult.cnf", INTEGER(server_transaction_id) INTEGER(session_id) )/* * Per-method events for session layer, client side */WAPEVENT(S_MethodInvoke_Req, "S-MethodInvoke.req", INTEGER(client_transaction_id) OCTSTR(method) OCTSTR(request_uri) HTTPHEADER(request_headers) OPTIONAL_OCTSTR(request_body) INTEGER(session_handle) )WAPEVENT(S_MethodInvokeData_Req, "S-MethodInvokeData.req", INTEGER(client_transaction_id) OCTSTR(method) OCTSTR(request_uri) HTTPHEADER(request_headers) OPTIONAL_OCTSTR(request_body) INTEGER(session_handle) )WAPEVENT(S_MethodInvoke_Cnf, "S-MethodInvoke.cnf", INTEGER(client_transaction_id) INTEGER(session_handle) )WAPEVENT(S_MethodResult_Ind, "S-MethodResult.ind", INTEGER(client_transaction_id) INTEGER(status) HTTPHEADER(response_headers) OPTIONAL_OCTSTR(response_body) INTEGER(session_handle) )WAPEVENT(S_MethodResult_Res, "S-MethodResult.res", INTEGER(client_transaction_id) INTEGER(session_handle) )/* * Per-method events used by the session layer * These events are used by both client and server side. */WAPEVENT(S_MethodAbort_Req, "S-MethodAbort.req", INTEGER(transaction_id) INTEGER(session_handle) )WAPEVENT(S_MethodAbort_Ind, "S-MethodAbort.ind", INTEGER(transaction_id) INTEGER(reason) INTEGER(session_handle) )/* * Per-push events used by the session layer */WAPEVENT(S_Push_Req, "S-Push.req", HTTPHEADER(push_headers) OPTIONAL_OCTSTR(push_body) INTEGER(session_id) )WAPEVENT(S_Push_Ind, "S-Push.ind", HTTPHEADER(push_headers) OPTIONAL_OCTSTR(push_body) INTEGER(session_handle) HTTPHEADER(session_headers) )WAPEVENT(S_ConfirmedPush_Req, "S-ConfirmedPush.req", INTEGER(server_push_id) HTTPHEADER(push_headers) OPTIONAL_OCTSTR(push_body) INTEGER(session_id) )WAPEVENT(S_ConfirmedPush_Ind, "S-ConfirmedPush.ind", INTEGER(client_push_id) HTTPHEADER(push_headers) OPTIONAL_OCTSTR(push_body) INTEGER(session_handle) )WAPEVENT(S_ConfirmedPush_Res, "S-ConfirmedPush.res", INTEGER(client_push_id) INTEGER(session_handle) )WAPEVENT(S_ConfirmedPush_Cnf, "S-ConfirmedPush.cnf", INTEGER(server_push_id) INTEGER(session_id) )WAPEVENT(S_PushAbort_Ind, "S-PushAbort.ind", INTEGER(push_id) INTEGER(reason)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?