FreeCalypso > hg > tcs211-l1-reconst
comparison g23m/condat/ms/src/aci/psa_util.h @ 0:509db1a7b7b8
initial import: leo2moko-r1
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 01 Jun 2015 03:24:05 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:509db1a7b7b8 |
---|---|
1 /* | |
2 +----------------------------------------------------------------------------- | |
3 | Project : GSM-PS (6147) | |
4 | Modul : PSA_UTIL | |
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 : Definitions for the PSA utility functions. | |
18 +----------------------------------------------------------------------------- | |
19 */ | |
20 | |
21 #ifndef PSA_UTIL_H | |
22 #define PSA_UTIL_H | |
23 | |
24 | |
25 /*==== CONSTANTS ==================================================*/ | |
26 | |
27 | |
28 /*==== TYPES ======================================================*/ | |
29 | |
30 | |
31 /*==== PROTOTYPES =================================================*/ | |
32 EXTERN void utl_BCD2String (char *bcd_string, | |
33 const UBYTE *bcd, | |
34 USHORT len); | |
35 EXTERN USHORT utl_dialStr2BCD (const char *pDialStr, | |
36 UBYTE *pBCDBuf, | |
37 UBYTE maxDigits); | |
38 EXTERN void utl_BCD2DialStr (const UBYTE *pBCD, | |
39 char *pDSBuf, | |
40 UBYTE numDigits); | |
41 /* PATCH Add bit_offset parameter to function cvt7To8 */ | |
42 /*EXTERN UBYTE utl_cvt7To8 ( UBYTE* source, | |
43 UBYTE source_len, | |
44 UBYTE* dest );*/ | |
45 EXTERN UBYTE utl_cvt7To8 ( const UBYTE* source, | |
46 UBYTE source_len, | |
47 UBYTE* dest, | |
48 UBYTE bit_offset); | |
49 /* PATCH END */ | |
50 EXTERN UBYTE utl_cvtPnn7To8 (const UBYTE* source, UBYTE source_len, UBYTE dcs, UBYTE* dest ); | |
51 | |
52 EXTERN UBYTE utl_cvt8To7 ( const UBYTE* source, | |
53 UBYTE source_len, | |
54 UBYTE* dest, | |
55 UBYTE bit_offset); | |
56 EXTERN UBYTE utl_getAlphabetCb ( UBYTE dcs ); | |
57 | |
58 #ifdef FF_SAT_E | |
59 EXTERN T_ACI_CMD_SRC psa_search_SATSrcId (void); | |
60 #endif /* FF_SAT_E */ | |
61 | |
62 /*==== EXPORT =====================================================*/ | |
63 | |
64 | |
65 | |
66 #endif /* PSA_UTIL_H */ | |
67 | |
68 /*==== EOF =======================================================*/ |