comparison src/aci2/ksd/ksd_utl.h @ 3:93999a60b835

src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 26 Sep 2016 00:29:36 +0000
parents
children
comparison
equal deleted inserted replaced
2:c41a534f33c6 3:93999a60b835
1 /*
2 +-----------------------------------------------------------------------------
3 | Project : GSM-PS (6147)
4 | Modul : KSD_UTL
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 : This module defines utility functions for the KSD
18 | component of the protocol stack.
19 +-----------------------------------------------------------------------------
20 */
21
22 #ifndef KSD_UTL_H
23 #define KSD_UTL_H
24
25 /*==== CONSTANTS ==================================================*/
26
27 /*==== TYPES ======================================================*/
28
29 /*==== PROTOTYPES =================================================*/
30
31 GLOBAL void utl_splitDialnumber (CHAR *dial,
32 CHAR **main,
33 BOOL *international,
34 CHAR **sub,
35 USHORT *numCharsSub);
36
37 GLOBAL BOOL utl_string2UByte (CHAR *inSeq,
38 USHORT inLen,
39 UBYTE *outValue);
40
41 GLOBAL BOOL utl_string2Byte (CHAR *inSeq,
42 USHORT inLen,
43 BYTE *outValue);
44
45 GLOBAL BOOL utl_string2Short (CHAR *inSeq,
46 USHORT inLen,
47 SHORT *outValue);
48
49 GLOBAL BOOL utl_string2Long (CHAR *inSeq,
50 USHORT inLen,
51 LONG *outValue);
52
53 /*==== EXPORT =====================================================*/
54
55 #endif
56