FreeCalypso > hg > fc-tourmaline
comparison src/gpf/tst/drv/thif_link.h @ 0:4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 16 Oct 2020 06:23:26 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4e78acac3d88 |
---|---|
1 /* | |
2 +------------------------------------------------------------------------------ | |
3 | File: thif_link.h | |
4 +------------------------------------------------------------------------------ | |
5 | Copyright 2002 Texas Instruments Berlin, AG | |
6 | All rights reserved. | |
7 | | |
8 | This file is confidential and a trade secret of Texas | |
9 | Instruments Berlin, AG | |
10 | The receipt of or possession of this file does not convey | |
11 | any rights to reproduce or disclose its contents or to | |
12 | manufacture, use, or sell anything it may describe, in | |
13 | whole, or in part, without the specific written consent of | |
14 | Texas Instruments Berlin, AG. | |
15 +----------------------------------------------------------------------------- | |
16 | Purpose : This Modul contains the serial driver adaptation | |
17 +----------------------------------------------------------------------------- | |
18 */ | |
19 | |
20 #ifndef THIF_LINK_H | |
21 #define THIF_LINK_H | |
22 | |
23 /*==== INCLUDES =============================================================*/ | |
24 //#include "typedefs.h" | |
25 #include "gdi.h" | |
26 | |
27 /*==== DEFINITIONS ==========================================================*/ | |
28 #define THIF_SOCK_SIGTYPE_CONNECT DRV_SIGTYPE_USER /* Connected event signal*/ | |
29 #define THIF_SOCK_SIGTYPE_RELEASE (DRV_SIGTYPE_USER+1)/* Released event signal */ | |
30 | |
31 #define THIF_SOCK_ERRUNSPEC (DRV_RETVAL_USER+1) | |
32 #define THIF_SOCK_NOCONNECT (DRV_RETVAL_USER+2) | |
33 | |
34 #define THIF_SOCK_INVALID_PORT 0 | |
35 #define THIF_SOCK_MAX_LEN_HOSTNAME 20 | |
36 | |
37 /*==== TYPES ================================================================*/ | |
38 | |
39 | |
40 /*==== FUNCTIONS ============================================================*/ | |
41 EXTERN void thif_link_Exit (void) ; | |
42 EXTERN USHORT thif_link_Open (void) ; | |
43 EXTERN USHORT thif_link_Close (void) ; | |
44 EXTERN USHORT thif_link_Read (void* Buffer, ULONG* SizeInBytes) ; | |
45 EXTERN USHORT thif_link_Write (void* Buffer, ULONG* SizeInBytes) ; | |
46 EXTERN USHORT thif_link_Flush (void) ; | |
47 EXTERN USHORT thif_link_SetSignal (USHORT SignalType) ; | |
48 EXTERN USHORT thif_link_ResetSignal (USHORT SignalType) ; | |
49 EXTERN USHORT thif_link_SetConfig (char* in_DCBPtr) ; | |
50 EXTERN USHORT thif_link_Init ( USHORT DrvHandle, T_DRV_CB_FUNC CallbackFunc, T_DRV_EXPORT const **DrvInfo ); | |
51 | |
52 /*==== END OF FILE ==========================================================*/ | |
53 #endif /* THIF_LINK_H */ | |
54 |