remove unused files submit/tizen/20200319.043412
authorYoungjae Shin <yj99.shin@samsung.com>
Tue, 17 Mar 2020 05:47:35 +0000 (14:47 +0900)
committerYoungjae Shin <yj99.shin@samsung.com>
Wed, 18 Mar 2020 08:53:50 +0000 (17:53 +0900)
client/utils.c [deleted file]
client/utils.h [deleted file]

diff --git a/client/utils.c b/client/utils.c
deleted file mode 100644 (file)
index 0a1c060..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- * Copyright (c) 2019-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.
- */
-#include "utils.h"
-
-#include <stdlib.h>
-#include <string.h>
-#include <errno.h>
-#include <glib.h>
-
-#include "common/mds.h"
-
-char* mds_utils_strdup(const char *src)
-{
-       char *dest = NULL;
-
-       RETV_IF(NULL == src, NULL);
-
-       errno = 0;
-       dest = strdup(src);
-       if (NULL == dest) {
-               ERR("strdup() Fail(%d)", errno);
-               return NULL;
-       }
-
-       return dest;
-}
-
-
-const char* mds_utils_dbus_encode_str(const char *src)
-{
-       return (src) ? src : MDS_STR_NULL;
-}
-
-
-char* mds_utils_dbus_decode_str(char *src)
-{
-       RETV_IF(NULL == src, NULL);
-
-       if (MDS_EQUAL == strcmp(MDS_STR_NULL, src))
-               return NULL;
-       else
-               return src;
-}
-
-
-void mds_utils_gvariant_array_free(GVariant **value)
-{
-       int i;
-
-       for (i = 0; value[i]; i++)
-               g_variant_unref(value[i]);
-
-       free(value);
-}
diff --git a/client/utils.h b/client/utils.h
deleted file mode 100644 (file)
index eac9a4d..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Copyright (c) 2019-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.
- */
-#pragma once
-
-#include <glib.h>
-
-#include "modes_types.h"
-
-#define MDS_STR_NULL "(NULL)"
-
-char* mds_utils_strdup(const char *src);
-const char* mds_utils_dbus_encode_str(const char *src);
-char* mds_utils_dbus_decode_str(char *src);
-void mds_utils_gvariant_array_free(GVariant **value);
-bool mds_utils_check_ofeature_supported();