Basic.h
资源名称:Visualhk.rar [点击查看]
上传用户:cjw5120
上传日期:2022-05-11
资源大小:5032k
文件大小:1k
源码类别:
网络截获/分析
开发平台:
Visual C++
- //
- // This has been modified from Dennis Lee's original version
- //
- /*
- * File: basic.h
- *
- * Header file for #defs and typedefs I often use
- *
- * Copyright (C) 1992-1997 Dennis Lee
- */
- #ifndef BASIC_H
- #define BASIC_H
- //typedef enum {FALSE, TRUE} boolean;
- #define schar signed char
- #define sshort signed short
- #define slong signed long
- #define uchar unsigned char
- #define ushort unsigned short
- #define ulong unsigned long
- #ifndef NULL
- #define NULL 0
- #endif
- #ifndef SEEK_SET
- #define SEEK_SET 0
- #endif
- #ifndef SEEK_CUR
- #define SEEK_CUR 1
- #endif
- #ifndef SEEK_END
- #define SEEK_END 2
- #endif
- #define READ_TYPE "rb"
- #define WRITE_TYPE "wb"
- #define IMPORT extern
- #define EXPORT
- #define LOCAL static
- #define GLOBAL
- #endif