Revert "Set mm-common only at client packages" 49/199049/1
authorJeongmo Yang <jm80.yang@samsung.com>
Fri, 1 Feb 2019 05:11:43 +0000 (14:11 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Fri, 1 Feb 2019 05:13:59 +0000 (14:13 +0900)
This reverts commit a320e1a44215633d8e4456ed00aed5ef23fdce6f.

Below functions return MM_ERROR_* values, so it's proper to include mm_error header file in muse_core.h
- int muse_core_connection_close(int sock_fd);
- int muse_core_set_nonblocking(int fd, bool value);
- int muse_core_set_socket_timeout(int sock_fd, int timeout_sec);

Change-Id: I7bd806cc7cbd226828b44fcb393d4b0fc53fda57
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
client/include/muse_client.h
core/include/muse_core.h
core/include/muse_core_internal.h

index 6d77d95..eac1fdb 100644 (file)
@@ -27,7 +27,6 @@ extern "C" {
 #endif
 
 #include "muse_core.h"
-#include <mm_error.h>
 
 int muse_client_new(void);
 int muse_client_new_data_ch(void);
index 9d08688..3989171 100644 (file)
@@ -28,6 +28,7 @@ extern "C" {
 
 #include <stdbool.h>
 #include <stdint.h>
+#include <mm_error.h>
 
 #define MUSE_URI_MAX_LENGTH            4096
 #define MUSE_MSG_MAX_LENGTH            4096
index 8e06ee2..f6b23ef 100644 (file)
@@ -39,7 +39,6 @@ extern "C" {
 #include <fcntl.h>
 #include <glib.h>
 #include <gmodule.h>
-#include <mm_error.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <sys/un.h>