+/*
+ * Copyright (c) 2020 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#define _GNU_SOURCE
+#include <stdio.h>
+#include <stdlib.h>
+#include <stdbool.h>
+#include <string.h>
+#include <glib.h>
+#include <gio/gio.h>
+
+
+/*Messaging Header Files*/
+#include "msg.h"
+#include "msg_transport_types.h"
+#include "msg_types.h"
+#include "email-types.h"
+
+#ifndef API
+#define API __attribute__ ((visibility("default")))
+#endif
+
+
+API int vconf_get_int(const char *in_key, const int intval)
+{
+ return 0;
+}
+
+API char *vconf_get_str(const char *in_key)
+{
+ return strdup("memory/telephony/nw_name");
+}
+
+API int email_service_end()
+{
+ return EMAIL_ERROR_NONE;
+}
+
+API int msg_open_msg_handle(msg_handle_t *handle)
+{
+ return MSG_SUCCESS;
+}
+
+API int msg_reg_sent_status_callback(msg_handle_t handle, msg_sent_status_cb cb, void *user_param)
+{
+ return MSG_SUCCESS;
+}
+
+API int msg_reg_sms_message_callback(msg_handle_t handle, msg_sms_incoming_cb cb, unsigned short port, void *user_param)
+{
+ return MSG_SUCCESS;
+}
+
+API GDBusConnection *g_bus_get_sync (GBusType bus_type,
+ GCancellable *cancellable,
+ GError **error)
+{
+ return (void *)1234;
+}
+
+API guint g_dbus_connection_register_object (GDBusConnection *connection,
+ const gchar *object_path,
+ GDBusInterfaceInfo *interface_info,
+ const GDBusInterfaceVTable *vtable,
+ gpointer user_data,
+ GDestroyNotify user_data_free_func,
+ GError **error)
+{
+ return 1234;
+}
+
+API guint g_dbus_connection_signal_subscribe (GDBusConnection *connection,
+ const gchar *sender,
+ const gchar *interface_name,
+ const gchar *member,
+ const gchar *object_path,
+ const gchar *arg0,
+ GDBusSignalFlags flags,
+ GDBusSignalCallback callback,
+ gpointer user_data,
+ GDestroyNotify user_data_free_func)
+{
+ return 0;
+}
+API void g_dbus_connection_signal_unsubscribe(GDBusConnection *connection,
+ guint subscription_id)
+{
+}
+
+API gboolean g_dbus_connection_unregister_object(GDBusConnection *connection,
+ guint registration_id)
+{
+ return TRUE;
+}
+
+API void g_object_unref(gpointer object)
+{
+}
+
+API GVariant *g_dbus_proxy_call_sync(GDBusProxy *proxy,
+ const gchar *method_name,
+ GVariant *parameters,
+ GDBusCallFlags flags,
+ gint timeout_msec,
+ GCancellable *cancellable,
+ GError **error)
+{
+ return NULL;
+}
+
+API GDBusProxy *g_dbus_proxy_new_sync(GDBusConnection *connection,
+ GDBusProxyFlags flags,
+ GDBusInterfaceInfo *info,
+ const gchar *name,
+ const gchar *object_path,
+ const gchar *interface_name,
+ GCancellable *cancellable,
+ GError **error)
+{
+ return (void *)1234;
+}
+
+API GVariant *g_variant_get_child_value(GVariant *value,
+ gsize index_)
+{
+ return (void *)1234;
+}
+
+API gsize g_variant_n_children(GVariant *value)
+{
+ return 1234;
+}
+
+API void g_variant_unref(GVariant *value)
+{
+}
+
+API void g_variant_get (GVariant *value,
+ const gchar *format_string,
+ ...)
+{
+}
+
+API gint g_io_channel_unix_get_fd(GIOChannel *channel)
+{
+ return 0;
+}