From ec61c7545655cd1d6dd235c69951dec886b867bf Mon Sep 17 00:00:00 2001 From: Aki Niemi Date: Wed, 12 Jan 2011 13:39:24 +0200 Subject: [PATCH] common: Style fixes, M12 --- src/common.h | 114 +++++++++++++++++++++++++++++------------------------------ 1 file changed, 57 insertions(+), 57 deletions(-) diff --git a/src/common.h b/src/common.h index 234ef4a..50c418d 100644 --- a/src/common.h +++ b/src/common.h @@ -21,70 +21,70 @@ /* 27.007 Section 7.3 */ enum access_technology { - ACCESS_TECHNOLOGY_GSM = 0, - ACCESS_TECHNOLOGY_GSM_COMPACT = 1, - ACCESS_TECHNOLOGY_UTRAN = 2, - ACCESS_TECHNOLOGY_GSM_EGPRS = 3, - ACCESS_TECHNOLOGY_UTRAN_HSDPA = 4, - ACCESS_TECHNOLOGY_UTRAN_HSUPA = 5, - ACCESS_TECHNOLOGY_UTRAN_HSDPA_HSUPA = 6, - ACCESS_TECHNOLOGY_EUTRAN = 7 + ACCESS_TECHNOLOGY_GSM = 0, + ACCESS_TECHNOLOGY_GSM_COMPACT = 1, + ACCESS_TECHNOLOGY_UTRAN = 2, + ACCESS_TECHNOLOGY_GSM_EGPRS = 3, + ACCESS_TECHNOLOGY_UTRAN_HSDPA = 4, + ACCESS_TECHNOLOGY_UTRAN_HSUPA = 5, + ACCESS_TECHNOLOGY_UTRAN_HSDPA_HSUPA = 6, + ACCESS_TECHNOLOGY_EUTRAN = 7, }; /* 27.007 Section 7.2 */ enum network_registration_status { - NETWORK_REGISTRATION_STATUS_NOT_REGISTERED = 0, - NETWORK_REGISTRATION_STATUS_REGISTERED = 1, - NETWORK_REGISTRATION_STATUS_SEARCHING = 2, - NETWORK_REGISTRATION_STATUS_DENIED = 3, - NETWORK_REGISTRATION_STATUS_UNKNOWN = 4, - NETWORK_REGISTRATION_STATUS_ROAMING = 5 + NETWORK_REGISTRATION_STATUS_NOT_REGISTERED = 0, + NETWORK_REGISTRATION_STATUS_REGISTERED = 1, + NETWORK_REGISTRATION_STATUS_SEARCHING = 2, + NETWORK_REGISTRATION_STATUS_DENIED = 3, + NETWORK_REGISTRATION_STATUS_UNKNOWN = 4, + NETWORK_REGISTRATION_STATUS_ROAMING = 5, }; /* 27.007 Section 7.6 */ enum clip_validity { - CLIP_VALIDITY_VALID = 0, - CLIP_VALIDITY_WITHHELD = 1, - CLIP_VALIDITY_NOT_AVAILABLE = 2 + CLIP_VALIDITY_VALID = 0, + CLIP_VALIDITY_WITHHELD = 1, + CLIP_VALIDITY_NOT_AVAILABLE = 2, }; /* 27.007 Section 7.30 */ enum cnap_validity { - CNAP_VALIDITY_VALID = 0, - CNAP_VALIDITY_WITHHELD = 1, - CNAP_VALIDITY_NOT_AVAILABLE = 2 + CNAP_VALIDITY_VALID = 0, + CNAP_VALIDITY_WITHHELD = 1, + CNAP_VALIDITY_NOT_AVAILABLE = 2, }; /* 27.007 Section 7.18 */ enum call_status { - CALL_STATUS_ACTIVE = 0, - CALL_STATUS_HELD = 1, - CALL_STATUS_DIALING = 2, - CALL_STATUS_ALERTING = 3, - CALL_STATUS_INCOMING = 4, - CALL_STATUS_WAITING = 5, + CALL_STATUS_ACTIVE = 0, + CALL_STATUS_HELD = 1, + CALL_STATUS_DIALING = 2, + CALL_STATUS_ALERTING = 3, + CALL_STATUS_INCOMING = 4, + CALL_STATUS_WAITING = 5, CALL_STATUS_DISCONNECTED }; /* 27.007 Section 7.18 */ enum call_direction { - CALL_DIRECTION_MOBILE_ORIGINATED = 0, - CALL_DIRECTION_MOBILE_TERMINATED = 1 + CALL_DIRECTION_MOBILE_ORIGINATED = 0, + CALL_DIRECTION_MOBILE_TERMINATED = 1, }; /* 27.007 Section 7.11 */ enum bearer_class { - BEARER_CLASS_VOICE = 1, - BEARER_CLASS_DATA = 2, - BEARER_CLASS_FAX = 4, - BEARER_CLASS_DEFAULT = 7, - BEARER_CLASS_SMS = 8, - BEARER_CLASS_DATA_SYNC = 16, - BEARER_CLASS_DATA_ASYNC = 32, + BEARER_CLASS_VOICE = 1, + BEARER_CLASS_DATA = 2, + BEARER_CLASS_FAX = 4, + BEARER_CLASS_DEFAULT = 7, + BEARER_CLASS_SMS = 8, + BEARER_CLASS_DATA_SYNC = 16, + BEARER_CLASS_DATA_ASYNC = 32, /* According to 22.030, types 1-12 */ - BEARER_CLASS_SS_DEFAULT = 61, - BEARER_CLASS_PACKET = 64, - BEARER_CLASS_PAD = 128 + BEARER_CLASS_SS_DEFAULT = 61, + BEARER_CLASS_PACKET = 64, + BEARER_CLASS_PAD = 128, }; /* 22.030 Section 6.5.2 */ @@ -98,28 +98,28 @@ enum ss_control_type { /* TS 27.007 Supplementary service notifications +CSSN */ enum ss_cssi { - SS_MO_UNCONDITIONAL_FORWARDING = 0, - SS_MO_CONDITIONAL_FORWARDING = 1, - SS_MO_CALL_FORWARDED = 2, - SS_MO_CALL_WAITING = 3, - SS_MO_CUG_CALL = 4, - SS_MO_OUTGOING_BARRING = 5, - SS_MO_INCOMING_BARRING = 6, - SS_MO_CLIR_SUPPRESSION_REJECTED = 7, - SS_MO_CALL_DEFLECTED = 8, + SS_MO_UNCONDITIONAL_FORWARDING = 0, + SS_MO_CONDITIONAL_FORWARDING = 1, + SS_MO_CALL_FORWARDED = 2, + SS_MO_CALL_WAITING = 3, + SS_MO_CUG_CALL = 4, + SS_MO_OUTGOING_BARRING = 5, + SS_MO_INCOMING_BARRING = 6, + SS_MO_CLIR_SUPPRESSION_REJECTED = 7, + SS_MO_CALL_DEFLECTED = 8, }; enum ss_cssu { - SS_MT_CALL_FORWARDED = 0, - SS_MT_CUG_CALL = 1, - SS_MT_VOICECALL_ON_HOLD = 2, - SS_MT_VOICECALL_RETRIEVED = 3, - SS_MT_MULTIPARTY_VOICECALL = 4, - SS_MT_VOICECALL_HOLD_RELEASED = 5, - SS_MT_FORWARD_CHECK_SS_MESSAGE = 6, - SS_MT_VOICECALL_IN_TRANSFER = 7, - SS_MT_VOICECALL_TRANSFERRED = 8, - SS_MT_CALL_DEFLECTED = 9, + SS_MT_CALL_FORWARDED = 0, + SS_MT_CUG_CALL = 1, + SS_MT_VOICECALL_ON_HOLD = 2, + SS_MT_VOICECALL_RETRIEVED = 3, + SS_MT_MULTIPARTY_VOICECALL = 4, + SS_MT_VOICECALL_HOLD_RELEASED = 5, + SS_MT_FORWARD_CHECK_SS_MESSAGE = 6, + SS_MT_VOICECALL_IN_TRANSFER = 7, + SS_MT_VOICECALL_TRANSFERRED = 8, + SS_MT_CALL_DEFLECTED = 9, }; enum pin_type { -- 2.7.4