From f77bd1e204a9fd6d41420155c779f8f68580f528 Mon Sep 17 00:00:00 2001 From: YoungHun Kim Date: Thu, 8 Mar 2018 20:26:55 +0900 Subject: [PATCH] Move the internal data structure Change-Id: I7dff7379124b942660f567f05ec80028c6281d80 --- core/include/muse_core.h | 11 ----------- core/include/muse_core_internal.h | 11 +++++++++++ packaging/mused.spec | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/core/include/muse_core.h b/core/include/muse_core.h index 7cfe4c3..09df811 100644 --- a/core/include/muse_core.h +++ b/core/include/muse_core.h @@ -84,23 +84,12 @@ typedef enum { MUSE_CHANNEL_MAX } muse_channel_e; -typedef enum { - MUSE_MSG_TYPE_NORMAL, - MUSE_MSG_TYPE_FDS -} muse_msg_type_e; - typedef struct muse_external_storage_info { int id; int state; const char *path; } muse_external_storage_info_t; -typedef struct muse_msg_info { - unsigned int marker; - muse_msg_type_e type; - int size; -} muse_msg_info_t; - extern const char *UDS_files[MUSE_CHANNEL_MAX]; int muse_core_connection_close(int sock_fd); diff --git a/core/include/muse_core_internal.h b/core/include/muse_core_internal.h index 3b692b1..c1dafdb 100644 --- a/core/include/muse_core_internal.h +++ b/core/include/muse_core_internal.h @@ -152,6 +152,17 @@ typedef struct muse_recv_data { /* Dynamic allocated data area */ } muse_recv_data_t; +typedef enum { + MUSE_MSG_TYPE_NORMAL, + MUSE_MSG_TYPE_FDS +} muse_msg_type_e; + +typedef struct muse_msg_info { + unsigned int marker; + muse_msg_type_e type; + int size; +} muse_msg_info_t; + bool muse_core_msg_recv_len(int fd, char *buf, int msg_len); #ifdef __cplusplus diff --git a/packaging/mused.spec b/packaging/mused.spec index d5cd10f..b9dd580 100644 --- a/packaging/mused.spec +++ b/packaging/mused.spec @@ -1,6 +1,6 @@ Name: mused Summary: A multimedia daemon -Version: 0.3.34 +Version: 0.3.35 Release: 0 Group: System/Libraries License: Apache-2.0 -- 2.7.4