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

📄 nptypes.h

📁 在ARM7和UC/OSII的平台上实现了GPS自动报站的功能,涉及GPS模块LEA_4S的驱动,位置速寻算法,语音芯片ISD4004的录放音驱动,LED页面管理等等.从启动代码到操作系统的移植以及到业
💻 H
字号:
/*
 * FILENAME: nptypes.h
 *
 * Copyright  2000 By InterNiche Technologies Inc. All rights reserved
 *
 *
 * MODULE: INET
 *
 *
 * PORTABLE: yes
 */

/* Additional Copyrights: */
/* Portions Copyright 1990-1997 by NetPort Software. */
/* Portions Copyright 1986 by Carnegie Mellon */
/* Portions Copyright 1983 by the Massachusetts Institute of Technology  */


#ifndef NPTYPES_H
#define  NPTYPES_H   1


typedef  unsigned short unshort;
typedef  unsigned int ulong;


/* now do it the way the CMU snmp code likes it: */
typedef   unsigned char u_char;
typedef   unsigned short u_short;
typedef   unsigned int u_long;

typedef  unsigned int ip_addr;

/* general stuff C code */
#ifndef  TRUE
#define  TRUE  -1
#endif

#ifndef  FALSE
#define  FALSE    0
#endif

#ifndef  NULL
#define  NULL  ((void*)0)
#endif

/* usefull macros: */
#ifndef min
#define  min(x,y)    ((x)  <  (y)   ?  (x)   :  (y))
#endif
#ifndef max
#define  max(x,y)    ((x)  >  (y)   ?  (x)   :  (y))
#endif

#endif   /* NPTYPES_H */



⌨️ 快捷键说明

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