RSA sync with private
[platform/core/messaging/msg-service.git] / include / mapi / msg.h
index 9731f59..c710535 100755 (executable)
@@ -235,6 +235,7 @@ 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
 }