comparison src/g23m-fad/fad/cus_fad.h @ 1:fa8dc04885d8

src/g23m-*: import from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 06:25:50 +0000
parents
children
comparison
equal deleted inserted replaced
0:4e78acac3d88 1:fa8dc04885d8
1 /*
2 +-----------------------------------------------------------------------------
3 | Project : GSM-F&D (8411)
4 | Modul : CUS_FAD
5 +-----------------------------------------------------------------------------
6 | Copyright 2002 Texas Instruments Berlin, AG
7 | All rights reserved.
8 |
9 | This file is confidential and a trade secret of Texas
10 | Instruments Berlin, AG
11 | The receipt of or possession of this file does not convey
12 | any rights to reproduce or disclose its contents or to
13 | manufacture, use, or sell anything it may describe, in
14 | whole, or in part, without the specific written consent of
15 | Texas Instruments Berlin, AG.
16 +-----------------------------------------------------------------------------
17 | Purpose : Custom dependent definitions for the
18 | Protocol Stack Entity
19 | Fax Adaptation 3.45
20 +-----------------------------------------------------------------------------
21 */
22
23 #ifndef CUS_FAD_H
24 #define CUS_FAD_H
25
26 /*==== CONSTANTS ==================================================*/
27
28 /*
29 * VERSION
30 *
31 * Description : The constants define the type and the value
32 * of a version identification. The version
33 * is part of the monitor struct.
34 */
35
36 /*
37 * VSI_CALLER
38 *
39 * Description : For multithread applications the constant VSI_CALLER
40 * must be defined to identify the calling thread of the
41 * VSI-Interface. This must be done correponding to the
42 * type of T_VSI_CALLER in VSI.H. The comma symbol is
43 * neccessary because the vsi-functions are called
44 * like this vsi_xxx (VSI_CALLER par2, par3 ...)
45 */
46
47 #ifdef OPTION_MULTITHREAD
48
49 #define VSI_CALLER fad_handle,
50 #define VSI_CALLER_SINGLE fad_handle
51
52 #else
53
54 #define VSI_CALLER
55 #define VSI_CALLER_SINGLE
56
57 #endif
58
59 #endif