comparison src/g23m-fad/udp/cus_udp.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-FaD (8411)
4 | Modul : CUS_UDP
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 | Radio Link Protocol
20 +-----------------------------------------------------------------------------
21 */
22
23 #ifndef CUS_UDP_H
24 #define CUS_UDP_H
25
26 /*==== CONSTANTS ==================================================*/
27 /*
28 * VERSION
29 *
30 * Description : The constants define the type and the value
31 * of a version identification. The version
32 * is part of the monitor struct.
33 */
34
35 #define T_VERSION char
36 #define VERSION_UDP "UDP 1.0"
37
38 /*
39 * VSI_CALLER
40 *
41 * Description : For multithread applications the constant VSI_CALLER
42 * must be defined to identify the calling thread of the
43 * VSI-Interface. This must be done correponding to the
44 * type of T_VSI_CALLER in VSI.H. The comma symbol is
45 * neccessary because the vsi-functions are called
46 * like this vsi_xxx (VSI_CALLER par2, par3 ...)
47 */
48
49 #ifdef OPTION_MULTITHREAD
50 #define VSI_CALLER udp_handle,
51 #define VSI_CALLER_SINGLE udp_handle
52 #else
53 #define VSI_CALLER
54 #define VSI_CALLER_SINGLE
55 #endif
56
57 #endif
58