2 * ug-setting-bluetooth-efl
4 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
6 * Contact: Hocheol Seo <hocheol.seo@samsung.com>
7 * GirishAshok Joshi <girish.joshi@samsung.com>
8 * DoHyun Pyun <dh79.pyun@samsung.com>
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
14 * http://www.apache.org/licenses/LICENSE-2.0
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.
24 #ifndef __BT_NET_CONNECTION_H
25 #define __BT_NET_CONNECTION_H
31 #include "bt-type-define.h"
33 int _bt_create_net_connection(void **net_connection);
35 int _bt_destroy_net_connection(void *net_connection);
37 void _bt_set_profile_state_changed_cb(void *profile, void *user_data);
39 void _bt_unset_profile_state_changed_cb(void *profile);
41 void *_bt_get_registered_net_profile(void *connection, unsigned char *address);
43 void *_bt_get_connected_net_profile(void *connection, unsigned char *address);
45 int _bt_connect_net_profile(void *connection, void *profile, void *user_data);
47 int _bt_disconnect_net_profile(void *connection, void *profile, void *user_data);
52 #endif /* __BT_NET_CONNECTION_H */