comparison src/g23m-aci/ksd/ksd_utl.h @ 1:d393cd9bb723

src/g23m-*: initial import from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 15 Jul 2018 04:40:46 +0000
parents
children
comparison
equal deleted inserted replaced
0:b6a5e36de839 1:d393cd9bb723
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