4 * Copyright 2012 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 Flora License, Version 1.1 (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.tizenopensource.org/license
16 * Unless required by applicable law or agreed to in writing,
17 * software 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 <net_connection.h>
32 #include <notification.h>
33 #include "bt-type-define.h"
36 connection_profile_h profile_h;
37 unsigned char *address;
40 int _bt_create_net_connection(void **net_connection);
42 int _bt_destroy_net_connection(void *net_connection);
44 void _bt_set_profile_state_changed_cb(void *profile, void *user_data);
46 void _bt_unset_profile_state_changed_cb(void *profile);
48 void *_bt_get_registered_net_profile(void *connection, unsigned char *address);
50 void *_bt_get_registered_net_profile_list(void *connection);
52 void *_bt_get_connected_net_profile(void *connection, unsigned char *address);
54 void _bt_free_net_profile_list(void *list);
56 int _bt_connect_net_profile(void *connection, void *profile, void *user_data);
58 int _bt_disconnect_net_profile(void *connection, void *profile, void *user_data);
63 #endif /* __BT_NET_CONNECTION_H */