2 * Copyright 2012 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.0 (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://www.tizenopensource.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.
22 #ifndef __SEARCHSERVER_HEADER_H__
23 #define __SEARCHSERVER_HEADER_H__
25 int search_sql_stmt_init(sqlite3_stmt * sql_stmt);
27 int search_sql_stmt_finalize(sqlite3_stmt * stmt);
29 int search_sql_prepare_stmt(sqlite3 *db_handle, const char *query,
30 sqlite3_stmt ** stmt_out);
32 int search_sql_contact_search_result_by_api(int type, int offset, int limit,
35 int search_sql_msg_search_result_by_api(int type, int offset, int limit,
38 int search_sql_email_search_result_by_api(int type, int offset, int limit,
41 int search_sql_calendar_search_result_by_api(int type, int offset, int limit,
44 int search_sql_memo_search_result_by_api(int type, int offset, int limit,
47 int search_sql_image_search_result_by_api(int type, int offset, int limit,
50 int search_sql_video_search_result_by_api(int type, int offset, int limit,
53 int search_sql_music_search_result_by_api(int type, int offset, int limit,
56 int search_sql_menu_search_result_by_api(int type, int offset, int limit,
57 char *keyword, void *data);
59 #endif // __SEARCHSERVER_HEADER_H__