2007-05-15 22:15:52 +08:00
|
|
|
/*
|
|
|
|
*
|
|
|
|
* BlueZ - Bluetooth protocol stack for Linux
|
|
|
|
*
|
2010-01-02 09:08:17 +08:00
|
|
|
* Copyright (C) 2004-2010 Marcel Holtmann <marcel@holtmann.org>
|
2007-05-15 22:15:52 +08:00
|
|
|
*
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
*
|
|
|
|
*/
|
2007-05-17 05:04:12 +08:00
|
|
|
|
2008-05-06 09:20:42 +08:00
|
|
|
void port_release_all(void);
|
|
|
|
|
2008-07-24 05:45:51 +08:00
|
|
|
int port_register(DBusConnection *conn, const char *path, bdaddr_t *src,
|
2008-11-06 21:45:16 +08:00
|
|
|
bdaddr_t *dst, const char *name, uint8_t channel);
|
2007-05-17 05:04:12 +08:00
|
|
|
|
2008-11-08 05:21:43 +08:00
|
|
|
int port_unregister(const char *path);
|