📄 os_types.h
字号:
/*------------------------------------------------------------------------------
$File: //hodad/usblink/3.4/source/os/linux_2_4_18/os_types.h $
$DateTime: 2003/11/21 14:48:39 $
$Revision: #2 $
Purpose: This file holds the standard types for USBLink.
------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------
CONFIDENTIAL AND PROPRIETARY INFORMATION OF SOFTCONNEX TECHNOLOGIES, INC.
THIS NOTICE IS NOT TO BE DELETED, MODIFIED, MOVED OR CHANGED IN ANY WAY.
Copyright (c) 1999 - 2003 by SoftConnex Technologies, Inc.
This software is protected by copyright laws and international copyright
treaties, as well as other intellectual property laws and treaties. This
software is a CONFIDENTIAL, unpublished work of authorship, and with portions
constituting TRADE SECRETS of SoftConnex Technologies, Inc., a Delaware USA
corporation. Any unauthorized use, disclosure, and/or reproduction of this
software, or any part of this software; or distribution of this software in any
form or by any means; or storage of this software in any database or retrieval
system, without the express written consent of, and license from, SoftConnex
Technologies, Inc. is strictly prohibited. This software is protected under the
copyright and/or trade secret laws in other countries in addition to USA. All
Rights Reserved. Failure to abide by the use, disclosure and/or reproduction
restrictions may result in civil and /or criminal penalties, and will be
prosecuted to the maximum extent of the law.
------------------------------------------------------------------------------*/
#ifndef _SOFTCONNEX_OS_TYPES_H_
#define _SOFTCONNEX_OS_TYPES_H_
/*******************************************************************************
Public Definitions
*******************************************************************************/
#define SCC_TRUE 1
#define SCC_FALSE 0
#define INLINE __inline__
/*******************************************************************************
Public Data Types
*******************************************************************************/
typedef signed int S32;
typedef signed short S16;
typedef signed char S8;
typedef unsigned int U32;
typedef unsigned short U16;
typedef unsigned char U8;
/*------------------------------------------------------------------------------
SoftConnex Status - This type should be used for all status reporting by
functions in USBLink.
------------------------------------------------------------------------------*/
typedef unsigned short SctUnicode;
typedef unsigned char SctBool;
typedef unsigned long SctStatus;
typedef unsigned long SctMask;
typedef unsigned long SctId;
typedef int (*FUNCPTR) (void);
#endif /* _SOFTCONNEX_OS_TYPES_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -