comparison src/aci2/mfw/mfw_phbi.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-MFW (8417) $Workfile:: mfw_phbi.h $|
4 | $Author:: Vo $Revision:: 1 $|
5 | CREATED: 7.1.99 $Modtime:: 12.01.00 11:26 $|
6 | STATE : code |
7 +--------------------------------------------------------------------+
8
9 PURPOSE : Internal types defination for phonebook management
10 .
11 */
12
13 #ifndef DEF_MFW_PHBI
14 #define DEF_MFW_PHBI
15
16 /*
17 * PHB Control Block
18 */
19 typedef struct
20 {
21 T_MFW_EVENT emask; /* events of interest */
22 T_MFW_EVENT event; /* current event */
23 T_MFW_CB handler;
24 T_MFW_PHB_PARA para;
25 } T_MFW_PHB;
26
27 EXTERN BOOL phb_sign_exec (T_MFW_HDR * hdr,
28 T_MFW_EVENT event,
29 T_MFW_PHB_PARA *para);
30 EXTERN void phb_ok_clck (void);
31 EXTERN void phb_error_clck (void);
32 EXTERN T_MFW_PHB_TON phb_cvtTon (T_ACI_TOA_TON ton);
33 EXTERN T_MFW_PHB_TON phb_cvtNpi (T_ACI_TOA_NPI npi);
34 EXTERN T_ACI_TOA_TON phb_ncvtTon (T_MFW_PHB_TON ton);
35 EXTERN T_ACI_TOA_NPI phb_ncvtNpi (T_MFW_PHB_TON npi);
36 EXTERN void phb_read_upn_eeprom (void);
37
38 #endif