comparison g23m-gsm/dl/dl_trc.h @ 0:75a11d740a02

initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 09 Jun 2016 00:02:41 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:75a11d740a02
1 /*
2 +-----------------------------------------------------------------------------
3 | Project : GSM-PS
4 | Modul : DL
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 : Trace Definitions for the Protocol Stack Entity
18 | Data Link Layer
19 +-----------------------------------------------------------------------------
20 */
21
22 #ifndef DL_TRC_H
23 #define DL_TRC_H
24
25 #if defined(DL_TRACE_WIN32)
26 void dl_trc_init ();
27 void dl_trc_exit ();
28 void dl_trc_printf (char *fmt, ...);
29 void dl_trc_print_array(unsigned char *pArray, int nLength);
30 void dl_trc_frame(unsigned char ch_type, unsigned char *pFrame, int direction);
31
32 #define TRC_INIT() dl_trc_init ()
33 #define TRC_EXIT() dl_trc_exit ()
34 #define TRC(t) dl_trc_printf t
35 #define ATRC(p,l) dl_trc_print_array ((unsigned char *)(p),l)
36 #define FTRC(c,p,d) dl_trc_frame(c, p, d)
37
38 #else
39
40 #define TRC_INIT()
41 #define TRC_EXIT()
42 #define TRC(t)
43 #define ATRC(p,l)
44 #define FTRC(c,p,d)
45 #endif /* DL_TRACE_WIN32 */
46
47 #endif /* DL_TRC_H */