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

📄 cms_waptypes.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  : CMS WAP2.0 PUSH Ver0.10

 Written By  : Mobilesoft Technology

 File Name     : Cms_WAPTypes.h    
 
 Last Modified : 10/15/2002

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

#ifndef _CMS_PUSHTYPES_H
#define _CMS_PUSHTYPES_H

/********************************** Head ************************/

#include "stdio.h"
#include "stdlib.h"
#include "string.h"


/********************************** Macros **********************************/

//#define		WAPGATEWAY			"10.0.0.172"
//#define		LOCALIP				"192.168.0.18"
//#define		WAPPORT				9201
//#define		PUSHPORT			2948

/****************************** Basic Data types *****************************/

/* Typedefs for integer types */
typedef unsigned char			CMS_U8;			/* unsigned 8 bit data  */
typedef unsigned short			CMS_U16;			/* unsigned 16 bit data */
typedef unsigned int			CMS_U32;			/* unsigned 32 bit data */
typedef unsigned long			CMS_U64;			/* unsigned 64 bit data */
typedef signed char				CMS_S8;			/* signed 8 bit data  */
typedef signed short			CMS_S16;			/* signed 16 bit data */
typedef signed int				CMS_S32;			/* signed 32 bit data */
typedef signed long				CMS_S64;			/* signed 64 bit data */
#define CMS_VOID				void


typedef CMS_U8 *			P_CMS_U8;
typedef CMS_U16 *			P_CMS_U16; 
typedef CMS_U32 *			P_CMS_U32;
typedef CMS_U64 *			P_CMS_U64;  
typedef CMS_S8 *			P_CMS_S8;
typedef CMS_S16 *			P_CMS_S16;  
typedef CMS_S32 *			P_CMS_S32; 
typedef CMS_S64 *			P_CMS_S64;
typedef CMS_VOID *			P_CMS_VOID;

typedef	CMS_U8				CMS_BOOL;	

#ifndef NULL
#define NULL 0
#endif

/***************************** File System Marcos ****************************/

#define Cms_SEEK_SET	0
#define Cms_SEEK_CUR	1
#define Cms_SEEK_END	2

#define	INVALID_FILEHANDLE	NULL /* 无效文件号 */


/**************************** ansi c lib define ******************************/

#define Cms_FileWrite(a, b, c, d, e)	fwrite(a, b, c, d)
#define Cms_FileRead	fread
#define Cms_FileSeek	fseek

#define Cms_StrLen	strlen
#define Cms_StrCmp	strcmp
#define Cms_StrCpy	strcpy
#define Cms_StrStr	strstr
#define Cms_StrCat	strcat

#define CMS_WAP_CENT_RELEASE
#define __CMS_TOOLKIT__
#define __SELECTIVE_RETRANSMISSION__

#endif

⌨️ 快捷键说明

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