comparison g23m/condat/ms/src/mfw/mfw_phba.c @ 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: MMI-Framework (8417) $Workfile:: mfw_phba.c $|
4 | $Author:: Vo $Revision:: 1 $|
5 | CREATED: 7.1.99 $Modtime:: 21.12.99 14:15 $|
6 | STATE : code |
7 +--------------------------------------------------------------------+
8
9 MODULE : MFW_PHBA
10
11 PURPOSE : This modul contains phonebook management functions.
12
13
14 $History:: mfw_phba.c $
15 *
16 * ***************** Version 3 *****************
17 * User: Vo Date: 21.12.99 Time: 14:16
18 * Updated in $/GSM/Condat/MS/SRC/MFW
19 *
20 * ***************** Version 2 *****************
21 * User: Vo Date: 17.11.99 Time: 10:44
22 * Updated in $/GSM/Condat/MS/SRC/MFW
23 *
24 * ***************** Version 1 *****************
25 * User: Vo Date: 12.01.99 Time: 13:16
26 * Created in $/GSM/DEV/MS/SRC/MFW
27
28
29 */
30
31 #define ENTITY_MFW
32
33 #if defined (NEW_FRAME)
34
35 #include "typedefs.h"
36 #include "vsi.h"
37 #include "pei.h"
38 #include "custom.h"
39 #include "gsm.h"
40
41 #else
42
43 #include "STDDEFS.H"
44 #include "custom.h"
45 #include "gsm.h"
46 #include "vsi.h"
47
48 #endif
49 #include "prim.h"
50 #ifndef PCM_2_FFS
51 #include "pcm.h"
52 #endif
53
54 #include "message.h"
55 #include "prim.h"
56 #include "aci_cmh.h"
57 #include "ksd.h"
58
59 #ifdef FAX_AND_DATA
60 #include "aci_fd.h"
61 #endif
62 #include "prim.h"
63
64 #include "psa.h"
65 #include "phb.h"
66 #include "cmh.h"
67 #include "cmh_phb.h"
68
69 #include "mfw_mfw.h"
70 #include "mfw_phb.h"
71 #include "mfw_phbi.h"
72 #include "mfw_cm.h"
73 #include "mfw_cmi.h"
74
75 #include "mfw_nm.h"
76 #include "mfw_sim.h"
77 #include "mfw_sima.h"
78 #include "mfw_nmi.h"
79 #include "mfw_simi.h"
80
81 #include <string.h>
82
83
84 /*
85 +--------------------------------------------------------------------+
86 | PROJECT: MMI-Framework (8417) MODULE: MFW_PHBA |
87 | STATE : code ROUTINE: sAT_PlusCPBRA |
88 +--------------------------------------------------------------------+
89
90
91 PURPOSE :
92
93 */
94 #if defined(FF_2TO1_PS)
95 T_ACI_RETURN sAT_PlusCPBRA(UBYTE type,
96 UBYTE index,
97 T_ACI_PB_ENTR *pb_list)
98 {
99 T_PHB_RECORD entry;
100
101 if (pb_read_alpha_record(type, index, &entry) EQ PHB_FAIL)
102 return AT_FAIL;
103
104 cmhPHB_cpyRecEntr (&pb_list[0], &entry);
105 return AT_CMPL;
106 }
107 #endif /* #if defined(FF_2TO1_PS) */
108