Remove duplicate usage API.
authorKeebum Kim <keebum.kim@samsung.com>
Tue, 11 Dec 2012 08:26:19 +0000 (17:26 +0900)
committerKeebum Kim <keebum.kim@samsung.com>
Tue, 11 Dec 2012 08:26:19 +0000 (17:26 +0900)
include/mapi/msg.h
mapi/msg_svc.cpp

index c710535..a04505f 100755 (executable)
@@ -234,7 +234,6 @@ int msg_get_msgsize_opt(msg_handle_t handle, msg_struct_t msg_struct);
 int msg_set_msgsize_opt(msg_handle_t handle, msg_struct_t msg_struct);
 
 // text length calculate
-int msg_calculate_text_length(msg_handle_t handle, const char* msg_text, msg_encode_type_t msg_encode_type, unsigned int *text_size, unsigned int *segment_size);
 int msg_util_calculate_text_length(const char* msg_text, msg_encode_type_t msg_encode_type_to, unsigned int *text_size, unsigned int *segment_size, msg_encode_type_t *msg_encode_type_in);
 
 #ifdef __cplusplus
index c4e8463..90c73ad 100755 (executable)
@@ -1364,18 +1364,6 @@ EXPORT_API int msg_list_length(msg_list_handle_t list_handle)
        return (int)g_list_length((GList *)list_handle);
 }
 
-EXPORT_API int msg_calculate_text_length(msg_handle_t handle, const char* msg_text, msg_encode_type_t msg_encode_type, unsigned int *text_size, unsigned int *segment_size)
-{
-       msg_error_t err = MSG_SUCCESS;
-
-       msg_encode_type_t msg_encode_type_in;
-       err = msg_util_calculate_text_length(msg_text, msg_encode_type, text_size, segment_size, &msg_encode_type_in);
-
-       MSG_DEBUG("msg_encode_type_in [%d]", msg_encode_type_in);
-
-       return err;
-}
-
 EXPORT_API int msg_util_calculate_text_length(const char* msg_text, msg_encode_type_t msg_encode_type_to, unsigned int *text_size, unsigned int *segment_size, msg_encode_type_t *msg_encode_type_in)
 {
        msg_error_t err = MSG_SUCCESS;