First parameter of ms_ipc_request_update_tcp() is always 'MS_MSG_DB_UPDATE'.
So removed the parameter from ms_ipc_request_update_tcp().
Change-Id: I789e604501348250477e1f6d82a1ba04d243a73a
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
int ms_ipc_send_msg_to_client_tcp(int sockfd, ms_comm_msg_s *send_msg, struct sockaddr_un *client_addr);
int ms_ipc_accept_client_tcp(int serv_sock, int* client_sock);
int ms_ipc_request_recovery(uid_t uid);
-int ms_ipc_request_update_tcp(ms_msg_type_e msg_type, const char *request_msg, uid_t uid);
+int ms_ipc_request_update_tcp(const char *request_msg, uid_t uid);
#ifdef __cplusplus
}
return ret;
}
#endif
- ret = ms_ipc_request_update_tcp(MS_MSG_DB_UPDATE, query_str, uid);
+ ret = ms_ipc_request_update_tcp(query_str, uid);
if (ret != MS_MEDIA_ERR_NONE)
MSAPI_DBG_ERR("ms_ipc_request_update_tcp failed : %d", ret);
return ret;
}
-int ms_ipc_request_update_tcp(ms_msg_type_e msg_type, const char *request_msg, uid_t uid)
+int ms_ipc_request_update_tcp(const char *request_msg, uid_t uid)
{
int ret = MS_MEDIA_ERR_NONE;
int sockfd = -1;
ms_comm_msg_s send_msg = { 0, };
- send_msg.msg_type = msg_type;
+ send_msg.msg_type = MS_MSG_DB_UPDATE;
if (g_strlcpy(send_msg.msg, request_msg, sizeof(send_msg.msg)) >= MAX_MSG_SIZE) {
MSAPI_DBG_ERR("request_msg exceeds MAX_MSG_SIZE");
return MS_MEDIA_ERR_INVALID_PARAMETER;
Name: media-server
Summary: A server for media content management
-Version: 0.5.8
+Version: 0.5.9
Release: 0
Group: Multimedia/Service
License: Apache-2.0