4 * Copyright (c) 2000 - 2012 Samsung Electronics Co., Ltd. All rights reserved.
6 * Contact: Youngjoo Park <yjoo93.park@samsung.com>,
7 * Seungtaek Chung <seungtaek.chung@samsung.com>, Youngsub Ko <ys4610.ko@samsung.com>
9 * Licensed under the Apache License, Version 2.0 (the License);
10 * you may not use this file except in compliance with the License.
11 * You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an AS IS BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
24 #ifndef __BADGE_DB_DEF_H__
25 #define __BADGE_DB_DEF_H__
29 #include <badge_error.h>
35 badge_error_e badge_db_insert(const char *pkgname, const char *writable_pkg, const char *caller);
36 badge_error_e badge_db_delete(const char *pkgname, const char *caller_pkg);
37 badge_error_e badge_db_set_count(const char *pkgname, const char *caller_pkg, int count);
38 badge_error_e badge_db_set_display_option(const char *pkgname, const char *caller_pkg, int is_display);
39 badge_error_e badge_db_exec(sqlite3 * db, const char *query, int *num_changes);
45 #endif /* __BADGE_DB_DEF_H__ */