Apply tizen 3.0 based product patchsets
[platform/core/connectivity/bluetooth-frwk.git] / bt-service / include / bt-request-handler.h
1 /*
2  * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * Licensed under the Apache License, Version 2.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
7  *
8  *              http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  *
16  */
17
18
19 #ifndef _BT_REQUEST_HANDLER_H_
20 #define _BT_REQUEST_HANDLER_H_
21
22 #include <sys/types.h>
23 #include <glib.h>
24 #include <glib-object.h>
25
26 #include "bt-internal-types.h"
27
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31
32 #define BT_SERVICE_NAME "org.projectx.bt"
33 #define BT_SERVICE_PATH "/org/projectx/bt_service"
34
35 gboolean _is_name_acquired(void);
36
37 int _bt_service_register(void);
38
39 void _bt_service_unregister(void);
40
41 int _bt_service_cynara_init(void);
42
43 void _bt_service_cynara_deinit(void);
44
45 #ifdef __cplusplus
46 }
47 #endif /* __cplusplus */
48 #endif /*_BT_REQUEST_HANDLER_H_*/
49