FreeCalypso > hg > fc-tourmaline
diff src/ui/mfw/mfw_cphs.h @ 188:92abb46dc1ba
src/ui/mfw/*.[ch]: rm trailing white space
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 19 Jan 2021 06:10:27 +0000 |
parents | 67bfe9f274f6 |
children |
line wrap: on
line diff
--- a/src/ui/mfw/mfw_cphs.h Tue Jan 19 05:41:26 2021 +0000 +++ b/src/ui/mfw/mfw_cphs.h Tue Jan 19 06:10:27 2021 +0000 @@ -13,11 +13,11 @@ Solution: For ALS feature, a)Added function prototype "mfw_cphs_get_als_info()" which returns the current active line - + Oct 04, 2004 REF: CRR 25519 Deepa M.D Bug:Re-align structure members in MFW Fix:Structure elements have been realigned to avoid the structure padding -*/ +*/ #ifndef DEF_MFW_CPHS #define DEF_MFW_CPHS @@ -73,8 +73,8 @@ #include "mfw_sys.h" #ifdef NEPTUNE_BOARD -#include "Ffs.h" -#endif +#include "Ffs.h" +#endif /* Constants define */ @@ -181,7 +181,7 @@ UBYTE opNS; /* operator name shortform */ UBYTE mbNum; /* mailbox numbers */ UBYTE sst; /* service string table */ - UBYTE csp; /* customer service profile */ + UBYTE csp; /* customer service profile */ UBYTE iNum; /* information numbers */ } T_MFW_CPHS_INFO; @@ -196,14 +196,14 @@ typedef struct /* Mailbox number */ { UBYTE index; /* index in phonebook table */ - T_MFW_PHB_TEXT alpha; /* alpha identifier */ + T_MFW_PHB_TEXT alpha; /* alpha identifier */ UBYTE number[MFW_CPHS_VM_NUMBER_MAXLEN]; /* telephone number */ - UBYTE ton; /* type of number */ - UBYTE npi; /* numbering plan identifier */ + UBYTE ton; /* type of number */ + UBYTE npi; /* numbering plan identifier */ UBYTE service; /* indicates the line or fax/data */ UBYTE ext_rec_number; /* Number of EXT Records */ - UBYTE ext_rec_idx[4]; - UBYTE datalen; + UBYTE ext_rec_idx[4]; + UBYTE datalen; UBYTE list_index; /* Index / Position in the List */ } T_MFW_CPHS_ENTRY; @@ -235,7 +235,7 @@ typedef struct { T_MFW_MBDN mailbox_numbers[4];/*mailbox numbers of voice,fax,electronic and other*/ - UBYTE valid; /* 1st bit-voicemail, 2nd bit-fax,3rd bit-electronic,4th bit-other. bit set if valid, bit unset if invalid*/ + UBYTE valid; /* 1st bit-voicemail, 2nd bit-fax,3rd bit-electronic,4th bit-other. bit set if valid, bit unset if invalid*/ } T_MFW_CPHS_REL4_MBDN; typedef enum @@ -243,7 +243,7 @@ T_MFW_CPHS_REL4_MAILBOX_VOICE=0, T_MFW_CPHS_REL4_MAILBOX_FAX, T_MFW_CPHS_REL4_MAILBOX_ELECTRONIC, - T_MFW_CPHS_REL4_MAILBOX_OTHER + T_MFW_CPHS_REL4_MAILBOX_OTHER } T_MFW_CPHS_REL4_MAILBOX_TYPE; #endif @@ -265,7 +265,7 @@ UBYTE voicemail; UBYTE fax; UBYTE electronic; - UBYTE other; + UBYTE other; } T_MFW_CPHS_REL4_MWIS; #endif @@ -285,13 +285,13 @@ T_MFW_CFLAG_STATUS voice; /* call forwarding unconditional status of voice */ T_MFW_CFLAG_STATUS fax; /* call forwarding unconditional status of fax */ T_MFW_CFLAG_STATUS data; /* call forwarding unconditional status of data */ - char voice_dialling_number[PHB_MAX_LEN]; /*number to which voice has been forwarded*/ + char voice_dialling_number[PHB_MAX_LEN]; /*number to which voice has been forwarded*/ } T_MFW_CPHS_REL4_DV_STAT; #endif typedef struct /* Information about alternate line service */ { - T_MFW_LINE_INDEX selectedLine; + T_MFW_LINE_INDEX selectedLine; T_MFW_LINE_STATUS status; /* ALS is locked or unlocked */ } T_MFW_CPHS_ALS_STATUS; @@ -342,12 +342,12 @@ //Structure elements (T_MFW_CPHS_READ_SIM_ENTRY)are realigned to avoid the structure padding typedef struct /* SIM read data */ { - + UBYTE* exchange_data; USHORT sim_result; /* read error/no error (only used for read information number) */ USHORT requested_field; UBYTE data_len; - UBYTE record; /* sh */ + UBYTE record; /* sh */ } T_MFW_CPHS_READ_SIM_ENTRY; /***************************Go-lite Optimization changes end***********************/ @@ -357,7 +357,7 @@ T_MFW_CPHS_STATUS stat; T_MFW_CPHS_OP_NAME oper_name; T_MFW_CPHS_VC_NUM vc_entry; - UBYTE result; + UBYTE result; T_MFW_CPHS_VC_STAT vc_status; T_MFW_CPHS_DV_STAT dv_status; T_MFW_CPHS_ALS_STATUS als_status; @@ -377,18 +377,18 @@ void cphs_get_mailbox (void); T_MFW cphs_set_mailbox (T_MFW_CPHS_ENTRY *entry); T_MFW cphs_get_mailbox_status (void); -T_MFW cphs_set_mailbox_status (T_MFW_CFLAG_STATUS line1, - T_MFW_CFLAG_STATUS line2, - T_MFW_CFLAG_STATUS fax, +T_MFW cphs_set_mailbox_status (T_MFW_CFLAG_STATUS line1, + T_MFW_CFLAG_STATUS line2, + T_MFW_CFLAG_STATUS fax, T_MFW_CFLAG_STATUS data); T_MFW cphs_get_divert_status (void); -T_MFW cphs_set_divert_status (T_MFW_CFLAG_STATUS line1, - T_MFW_CFLAG_STATUS line2, - T_MFW_CFLAG_STATUS fax, +T_MFW cphs_set_divert_status (T_MFW_CFLAG_STATUS line1, + T_MFW_CFLAG_STATUS line2, + T_MFW_CFLAG_STATUS fax, T_MFW_CFLAG_STATUS data); /*a0393213 cphs rel4*/ #ifdef FF_CPHS_REL4 -T_MFW cphs_rel4_set_divert_status(T_MFW_CFLAG_STATUS voice, T_MFW_CFLAG_STATUS fax, +T_MFW cphs_rel4_set_divert_status(T_MFW_CFLAG_STATUS voice, T_MFW_CFLAG_STATUS fax, T_MFW_CFLAG_STATUS data, char number[PHB_MAX_LEN]); void sendCPHSSignal(UBYTE evt, void* para); T_MFW_CPHS_MSP_INFO* mfw_cphs_get_msp(void); @@ -414,7 +414,7 @@ EXTERN UBYTE dspl_Enable (UBYTE in_Enable); #ifdef PCM_2_FFS EXTERN T_FFS_SIZE ffs_ReadRecord(const char *name, void * addr, int size, int index, int recsize); -#endif /* PCM_2_FFS */ +#endif /* PCM_2_FFS */ /* End - remove warning Aug - 11 */ /*a0393213 cphs rel4*/