/*
- * Copyright (c) 2017 Samsung Electronics Co., Ltd. All rights reserved.
+ * Copyright (c) 2017 - 2019 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.
#ifndef __RUA_PRIVATE_H__
#define __RUA_PRIVATE_H__
-#include <sqlite3.h>
+#include <dlog.h>
#ifdef LOG_TAG
#undef LOG_TAG
#endif
#define RUA_DB_NAME ".rua.db"
-#define RUA_HISTORY "rua_history"
#define RUA_STAT_DB_NAME ".rua_stat.db"
-#define QUERY_MAXLEN 4096
-int _rua_stat_init(sqlite3 **db, char *db_name, int flags, uid_t uid);
+#ifndef _E
+#define _E LOGE
+#endif
+
+#ifndef _W
+#define _W LOGW
+#endif
+
+#ifndef _I
+#define _I LOGI
+#endif
+
+#ifndef _D
+#define _D LOGD
+#endif
-#endif /*__RUA_H__*/
+#endif /*__RUA_PRIVATE_H__*/