1965c347ab154fd36ca98cd1fd29b048068d70dabMarcel Holtmann/* 21c78dbe58cb701c7a0463b3bafadadb3d08461f1Marcel Holtmann * 31c78dbe58cb701c7a0463b3bafadadb3d08461f1Marcel Holtmann * BlueZ - Bluetooth protocol stack for Linux 41c78dbe58cb701c7a0463b3bafadadb3d08461f1Marcel Holtmann * 51c78dbe58cb701c7a0463b3bafadadb3d08461f1Marcel Holtmann * Copyright (C) 2002-2003 Maxim Krasnyansky <maxk@qualcomm.com> 69184e2eeb7b97371c6b83b747c8984e2340d2b47Marcel Holtmann * Copyright (C) 2002-2010 Marcel Holtmann <marcel@holtmann.org> 71c78dbe58cb701c7a0463b3bafadadb3d08461f1Marcel Holtmann * 81c78dbe58cb701c7a0463b3bafadadb3d08461f1Marcel Holtmann * 91c78dbe58cb701c7a0463b3bafadadb3d08461f1Marcel Holtmann * This program is free software; you can redistribute it and/or modify 10632a9432774ff3a0c6e556e8f32a565b38890767Marcel Holtmann * it under the terms of the GNU General Public License as published by 11632a9432774ff3a0c6e556e8f32a565b38890767Marcel Holtmann * the Free Software Foundation; either version 2 of the License, or 12632a9432774ff3a0c6e556e8f32a565b38890767Marcel Holtmann * (at your option) any later version. 131c78dbe58cb701c7a0463b3bafadadb3d08461f1Marcel Holtmann * 14632a9432774ff3a0c6e556e8f32a565b38890767Marcel Holtmann * This program is distributed in the hope that it will be useful, 15632a9432774ff3a0c6e556e8f32a565b38890767Marcel Holtmann * but WITHOUT ANY WARRANTY; without even the implied warranty of 16632a9432774ff3a0c6e556e8f32a565b38890767Marcel Holtmann * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17632a9432774ff3a0c6e556e8f32a565b38890767Marcel Holtmann * GNU General Public License for more details. 181c78dbe58cb701c7a0463b3bafadadb3d08461f1Marcel Holtmann * 19632a9432774ff3a0c6e556e8f32a565b38890767Marcel Holtmann * You should have received a copy of the GNU General Public License 20632a9432774ff3a0c6e556e8f32a565b38890767Marcel Holtmann * along with this program; if not, write to the Free Software 21632a9432774ff3a0c6e556e8f32a565b38890767Marcel Holtmann * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 221c78dbe58cb701c7a0463b3bafadadb3d08461f1Marcel Holtmann * 23965c347ab154fd36ca98cd1fd29b048068d70dabMarcel Holtmann */ 24965c347ab154fd36ca98cd1fd29b048068d70dabMarcel Holtmann 25965c347ab154fd36ca98cd1fd29b048068d70dabMarcel Holtmannint bnep_init(void); 26965c347ab154fd36ca98cd1fd29b048068d70dabMarcel Holtmannint bnep_cleanup(void); 27965c347ab154fd36ca98cd1fd29b048068d70dabMarcel Holtmann 28965c347ab154fd36ca98cd1fd29b048068d70dabMarcel Holtmannint bnep_str2svc(char *svc, uint16_t *uuid); 29965c347ab154fd36ca98cd1fd29b048068d70dabMarcel Holtmannchar *bnep_svc2str(uint16_t uuid); 30965c347ab154fd36ca98cd1fd29b048068d70dabMarcel Holtmann 31965c347ab154fd36ca98cd1fd29b048068d70dabMarcel Holtmannint bnep_show_connections(void); 32965c347ab154fd36ca98cd1fd29b048068d70dabMarcel Holtmannint bnep_kill_connection(uint8_t *dst); 33965c347ab154fd36ca98cd1fd29b048068d70dabMarcel Holtmannint bnep_kill_all_connections(void); 34965c347ab154fd36ca98cd1fd29b048068d70dabMarcel Holtmann 35965c347ab154fd36ca98cd1fd29b048068d70dabMarcel Holtmannint bnep_accept_connection(int sk, uint16_t role, char *dev); 36965c347ab154fd36ca98cd1fd29b048068d70dabMarcel Holtmannint bnep_create_connection(int sk, uint16_t role, uint16_t svc, char *dev); 37