FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/g23m-gsm/cc/cc_rel.c @ 696:7204091241d0
cc_rel.c compiles
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Tue, 30 Sep 2014 02:18:45 +0000 |
parents | 2f7df7a314f8 |
children |
comparison
equal
deleted
inserted
replaced
695:698a036a023d | 696:7204091241d0 |
---|---|
19 +----------------------------------------------------------------------------- | 19 +----------------------------------------------------------------------------- |
20 */ | 20 */ |
21 | 21 |
22 #ifndef CC_REL_C | 22 #ifndef CC_REL_C |
23 #define CC_REL_C | 23 #define CC_REL_C |
24 | |
25 #include "config.h" | |
26 #include "fixedconf.h" | |
27 #include "condat-features.h" | |
24 | 28 |
25 #define ENTITY_CC | 29 #define ENTITY_CC |
26 /*==== INCLUDES ===================================================*/ | 30 /*==== INCLUDES ===================================================*/ |
27 | 31 |
28 #include <string.h> | 32 #include <string.h> |
723 switch (cc_data->error) | 727 switch (cc_data->error) |
724 { | 728 { |
725 case M_CC_CAUSE_INVALID_MAND_INFO: | 729 case M_CC_CAUSE_INVALID_MAND_INFO: |
726 case M_CC_CAUSE_COND_INFO_ELEM: | 730 case M_CC_CAUSE_COND_INFO_ELEM: |
727 { | 731 { |
728 USHORT curr_cause; /* local variable to avoid repeated CAUSE_MAKEs for the same cause */ | 732 /* local variable to avoid repeated CAUSE_MAKEs |
733 for the same cause */ | |
734 USHORT curr_cause; | |
729 curr_cause = CAUSE_MAKE(DEFBY_STD, | 735 curr_cause = CAUSE_MAKE(DEFBY_STD, |
730 ORIGSIDE_MS, | 736 ORIGSIDE_MS, |
731 MNCC_CC_ORIGINATING_ENTITY, | 737 MNCC_CC_ORIGINATING_ENTITY, |
732 cc_data->error); | 738 cc_data->error); |
733 | 739 |
748 { | 754 { |
749 /* Implements Measure# 8 */ | 755 /* Implements Measure# 8 */ |
750 cc_mncc_release_ind ((T_PRIM *)D2P(release)); | 756 cc_mncc_release_ind ((T_PRIM *)D2P(release)); |
751 } | 757 } |
752 cc_build_release_complete (rel_com, CAUSE_MAKE(DEFBY_CONDAT, | 758 cc_build_release_complete (rel_com, CAUSE_MAKE(DEFBY_CONDAT, |
753 ORIGSIDE_MS, | 759 ORIGSIDE_MS, |
754 MNCC_CC_ORIGINATING_ENTITY, | 760 MNCC_CC_ORIGINATING_ENTITY, |
755 NOT_PRESENT_8BIT)); | 761 NOT_PRESENT_8BIT)); |
756 break; | 762 break; |
757 } | 763 } |
758 | 764 |
759 for_release_complete (rel_com); | 765 for_release_complete (rel_com); |
760 } | 766 } |