Code Sync [Tizen3.0]: Merged the tizen_2.4 Spin code to tizen.org
[platform/core/connectivity/bluetooth-frwk.git] / bt-service / include / bt-service-event.h
1 /*
2  * Bluetooth-frwk
3  *
4  * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Contact:  Hocheol Seo <hocheol.seo@samsung.com>
7  *               Girishashok Joshi <girish.joshi@samsung.com>
8  *               Chanyeol Park <chanyeol.park@samsung.com>
9  *
10  * Licensed under the Apache License, Version 2.0 (the "License");
11  * you may not use this file except in compliance with the License.
12  * You may obtain a copy of the License at
13  *
14  *              http://www.apache.org/licenses/LICENSE-2.0
15  *
16  * Unless required by applicable law or agreed to in writing, software
17  * distributed under the License is distributed on an "AS IS" BASIS,
18  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19  * See the License for the specific language governing permissions and
20  * limitations under the License.
21  *
22  */
23
24
25 #ifndef _BT_SERVICE_EVENT_H_
26 #define _BT_SERVICE_EVENT_H_
27
28 #include <sys/types.h>
29
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33
34 int _bt_send_event(int event_type, int event, int type, ...);
35
36 int _bt_init_service_event_sender(void);
37 void _bt_deinit_service_event_sender(void);
38
39 int _bt_init_service_event_receiver(void);
40 void _bt_deinit_service_event_receiver(void);
41
42 int _bt_opp_client_event_init(void);
43 void _bt_opp_client_event_deinit(void);
44
45 int _bt_send_hf_local_term_event(char *address);
46 int _bt_init_hf_local_term_event_sender(void);
47 void _bt_deinit_hf_local_term_event_sender(void);
48
49 #ifdef __cplusplus
50 }
51 #endif /* __cplusplus */
52 #endif /*_BT_SERVICE_EVENT_H_*/
53