⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cms_wtpsend.h

📁 wap 协议栈 包括1.2 和2.0 由c开发 基于brew平台
💻 H
字号:
/******************************************************************************

 C   H E A D E R   F I L E

 (c) Copyright MobileSoft Technology (NanJing) Co.,LTD. 2001-2002
 ALL RIGHTS RESERVED

*******************************************************************************

 Project Name: WAP STACK Ver 1.20
 
 File Name   : Cms_WTPSend.h

 Description : To Implement Browser application

 Last Modify : 06/22/2002
 
 Written By  : Mobilesoft Technology

******************************************************************************/

#ifndef _CMS_WTPSEND_H
#define _CMS_WTPSEND_H

/*********************************************************/

#include "Cms_WAPTypes.h"
#include "Cms_WTP.h"

/********************************************************/

Msg *wtp_all_send_invoke(WTPMachine *machine, WTPEvent *event); 

Msg *wtp_seg_send_invoke(WTPMachine *machine, WTPEvent *event); 

void wtp_re_send_invoke(WTPMachine *machine, WTPEvent *event);


/*
 * Send a message object, of wdp datagram type, having result PDU as user 
 * data. Fetches SDU from WTP event, address four-tuple and machine state 
 * information (are we resending the packet) from WTP machine. Handles all 
 * errors by itself. Returns message, if OK, else NULL. 
 */

//Msg *wtp_send_result(WTPMachine *machine, WTPEvent *event); 


/*
 * Send a message object, of wdp datagram type, having abort PDU as user 
 * data. Fetches SDU from WTP event, address four-tuple from WTP machine. 
 * Handles all errors by itself.
 */
CMS_VOID wtp_send_abort(CMS_S64 abort_type, CMS_S64 abort_reson, CMS_S32 tid);


/*
 * Send a message object, of wdp datagram type, having ack PDU as user 
 * data. Creates SDU by itself, fetches address four-tuple and machine state
 * from WTP machine. Ack_type is a flag telling whether we are doing tid 
 * verification or not. Handles all errors by itself.
 */

/*--Shawn 2003-01-04*/
CMS_VOID wtp_send_ack(CMS_S64 ack_type, WTPMachine *machine, WTPEvent *event,CMS_U8 con,CMS_U8 tpi_type,Octstr *tpi);

CMS_VOID wtp_send_nack(WTPMachine *machine);


#endif




⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -