650c82a294ace432d5ceb74e5914153f73dddc8e
[platform/core/connectivity/bluetooth-frwk.git] / bt-service / include / bt-service-event.h
1 /*
2  * bluetooth-frwk
3  *
4  * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  *              http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  *
18  */
19
20 #ifndef _BT_SERVICE_EVENT_H_
21 #define _BT_SERVICE_EVENT_H_
22
23 #include <sys/types.h>
24
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28
29 int _bt_send_event(int event_type, int event, int type, ...);
30
31 int _bt_init_service_event_sender(void);
32 void _bt_deinit_service_event_sender(void);
33
34 int _bt_init_service_event_receiver(void);
35 void _bt_deinit_service_event_reciever(void);
36
37 int _bt_opp_client_event_init(void);
38 void _bt_opp_client_event_deinit(void);
39
40 void _bt_get_temp_remote_devinfo(void);
41
42 void _bt_stop_discovery_timeout(void);
43
44 #ifdef __cplusplus
45 }
46 #endif /* __cplusplus */
47 #endif /*_BT_SERVICE_EVENT_H_*/
48