2 * Copyright 2012 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.1 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://floralicense.org/license/
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
41 * @brief Create database table
43 extern bool db_create_tables(void);
46 * @brief Get the applications list from the database
47 * @param apps Eina_List pointer
49 extern bool db_get_apps(Eina_List **apps);
52 * @brief Frees the application list
53 * @param apps Pointer to Eina_List.
55 extern void db_free_apps(Eina_List *apps);
58 * @brief Updates the database
62 extern bool db_update_apps(db_item_t item, bool insert);