Change API naming from get_gid1 to group_id1 28/57528/2
authorWootak Jung <wootak.jung@samsung.com>
Thu, 21 Jan 2016 01:17:52 +0000 (10:17 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Thu, 21 Jan 2016 04:11:43 +0000 (13:11 +0900)
Change-Id: I90752ff57bdbc5fe3e3780be291f8571469d4656

include/telephony_sim.h
packaging/capi-telephony.spec
src/telephony_sim.c
test/test_all_api.c

index 687bcf9e0362bc8287cbcbbe7b4c89a549ec270e..398f3db8ce7881d6a0b985387ac12e523b073c4f 100644 (file)
@@ -347,7 +347,7 @@ int telephony_sim_get_subscriber_id(telephony_h handle, char **subscriber_id);
 int telephony_sim_get_lock_state(telephony_h handle, telephony_sim_lock_state_e *lock_state);
 
 /**
- * @brief Gets the Group Identifier Level 1(GID1).
+ * @brief Gets the GID1 (Group Identifier Level 1).
  * @details This function gets Group Identifier Level 1(GID1) embedded in the SIM card.
  *          If this value is not stored in SIM card, @c NULL will be returned.
  *
@@ -371,11 +371,11 @@ int telephony_sim_get_lock_state(telephony_h handle, telephony_sim_lock_state_e
  *
  * @see telephony_sim_get_state()
  */
-int telephony_sim_get_gid1(telephony_h handle, char **gid1);
+int telephony_sim_get_group_id1(telephony_h handle, char **gid1);
 
 /**
  * @brief Gets the call fowarding state of the SIM.
- * @details If the state is true, incoming call will be forwareded to selected number.
+ * @details If the state is true, incoming call will be forwarded to selected number.
  *
  * @since_tizen 3.0
  * @privlevel public
@@ -383,7 +383,7 @@ int telephony_sim_get_gid1(telephony_h handle, char **gid1);
  *
  * @param[in] handle The handle from telephony_init()
  * @param[out] call_forwarding_state The value whether incoming call will be forwarded or not.
- *                                   (true: forwared, false: not forwared)
+ *                                   (true: forwarded, false: not forwarded)
  *
  * @return @c 0 on success,
  *         otherwise a negative error value
index 32946c37c89ad294da5d71b92a110c9d11db5a5e..187ea77f6a650ef5146f3c3dfa69084285387cce 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-telephony
 Summary:    Telephony Core API
-Version:    0.1.54
+Version:    0.1.55
 Release:    1
 Group:      System/Libraries
 License:    Apache-2.0
index 22a9afbab221b46d75e44ad44f5e3b1d887c1c38..e312dc2c639cd17643b6394c6385738c337d10c1 100644 (file)
@@ -510,7 +510,7 @@ int telephony_sim_get_lock_state(telephony_h handle, telephony_sim_lock_state_e
        return error_code;
 }
 
-int telephony_sim_get_gid1(telephony_h handle, char **gid1)
+int telephony_sim_get_group_id1(telephony_h handle, char **gid1)
 {
        int error_code = TELEPHONY_ERROR_NONE;
        TelSimCardStatus_t sim_card_state = TAPI_SIM_STATUS_UNKNOWN;
index 9596ddf6ec659be4bbc7f52ab29acc2fc76fbc50..070d98ee3329d32bf69ffc9936c28139ba038dfd 100644 (file)
@@ -449,9 +449,9 @@ int main()
                LOGI("Lock state is [%d]", lock_state);
        }
 
-       ret_value = telephony_sim_get_gid1(handle_list.handle[0], &gid1);
+       ret_value = telephony_sim_get_group_id1(handle_list.handle[0], &gid1);
        if (ret_value != TELEPHONY_ERROR_NONE) {
-               LOGE("telephony_sim_get_gid1() failed!!! [%d]", ret_value);
+               LOGE("telephony_sim_get_group_id1() failed!!! [%d]", ret_value);
        } else {
                LOGI("GID1 is [%s]", gid1);
                free(gid1);