Apply the initial codes for BT emulator
[platform/core/connectivity/bluetooth-frwk.git] / bt-service-emul / bt-service-rfcomm-server.c
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 #include "bluetooth-api.h"
19 #include "bt-internal-types.h"
20
21 #include "bt-service-common.h"
22 #include "bt-service-event.h"
23 #include "bt-service-util.h"
24 #include "bt-service-rfcomm-server.h"
25
26 int _bt_rfcomm_create_socket(char *sender, char *uuid)
27 {
28         return BLUETOOTH_ERROR_NOT_SUPPORT;
29 }
30
31 int _bt_rfcomm_listen(int socket_fd, int max_pending, gboolean is_native)
32 {
33         return BLUETOOTH_ERROR_NOT_SUPPORT;
34 }
35
36 int _bt_rfcomm_remove_socket(int socket_fd)
37 {
38         return BLUETOOTH_ERROR_NOT_SUPPORT;
39 }
40
41 /* To support the BOT  */
42 int _bt_rfcomm_is_uuid_available(char *uuid, gboolean *available)
43 {
44         return BLUETOOTH_ERROR_NOT_SUPPORT;
45 }
46
47 /* To support the BOT  */
48 int _bt_rfcomm_accept_connection(void)
49 {
50         return BLUETOOTH_ERROR_NOT_SUPPORT;
51 }
52
53 /* To support the BOT  */
54 int _bt_rfcomm_reject_connection(void)
55 {
56         return BLUETOOTH_ERROR_NOT_SUPPORT;
57 }
58