manager.h revision be9288b048e92fd34978dd13ba13ab37d0f22fae
1e54736f31acc8d26d1f1e4a8b06ed66d258a24efJohan Hedberg/* 2e54736f31acc8d26d1f1e4a8b06ed66d258a24efJohan Hedberg * 3e54736f31acc8d26d1f1e4a8b06ed66d258a24efJohan Hedberg * BlueZ - Bluetooth protocol stack for Linux 4e54736f31acc8d26d1f1e4a8b06ed66d258a24efJohan Hedberg * 5607695ed109340f4b7a5628420e0a8e8aee34f4eMarcel Holtmann * Copyright (C) 2004-2007 Marcel Holtmann <marcel@holtmann.org> 6e54736f31acc8d26d1f1e4a8b06ed66d258a24efJohan Hedberg * 7e54736f31acc8d26d1f1e4a8b06ed66d258a24efJohan Hedberg * 8e54736f31acc8d26d1f1e4a8b06ed66d258a24efJohan Hedberg * This program is free software; you can redistribute it and/or modify 9e54736f31acc8d26d1f1e4a8b06ed66d258a24efJohan Hedberg * it under the terms of the GNU General Public License as published by 10e54736f31acc8d26d1f1e4a8b06ed66d258a24efJohan Hedberg * the Free Software Foundation; either version 2 of the License, or 11e54736f31acc8d26d1f1e4a8b06ed66d258a24efJohan Hedberg * (at your option) any later version. 12e54736f31acc8d26d1f1e4a8b06ed66d258a24efJohan Hedberg * 13e54736f31acc8d26d1f1e4a8b06ed66d258a24efJohan Hedberg * This program is distributed in the hope that it will be useful, 14e54736f31acc8d26d1f1e4a8b06ed66d258a24efJohan Hedberg * but WITHOUT ANY WARRANTY; without even the implied warranty of 15e54736f31acc8d26d1f1e4a8b06ed66d258a24efJohan Hedberg * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16e54736f31acc8d26d1f1e4a8b06ed66d258a24efJohan Hedberg * GNU General Public License for more details. 17e54736f31acc8d26d1f1e4a8b06ed66d258a24efJohan Hedberg * 18e54736f31acc8d26d1f1e4a8b06ed66d258a24efJohan Hedberg * You should have received a copy of the GNU General Public License 19e54736f31acc8d26d1f1e4a8b06ed66d258a24efJohan Hedberg * along with this program; if not, write to the Free Software 20e54736f31acc8d26d1f1e4a8b06ed66d258a24efJohan Hedberg * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 21e54736f31acc8d26d1f1e4a8b06ed66d258a24efJohan Hedberg * 22e54736f31acc8d26d1f1e4a8b06ed66d258a24efJohan Hedberg */ 23e54736f31acc8d26d1f1e4a8b06ed66d258a24efJohan Hedberg 24be9288b048e92fd34978dd13ba13ab37d0f22faeMarcel Holtmann#define MANAGER_INTERFACE "org.bluez.Manager" 25e54736f31acc8d26d1f1e4a8b06ed66d258a24efJohan Hedberg 26994212593598a7c176342e616bc99aae45991244Johan Hedbergdbus_bool_t manager_init(DBusConnection *conn, const char *path); 27e54736f31acc8d26d1f1e4a8b06ed66d258a24efJohan Hedberg 281badf196a83fb8d32e212c49b7487b08962c18f0Johan Hedbergint get_default_adapter(void); 291badf196a83fb8d32e212c49b7487b08962c18f0Johan Hedberg 301badf196a83fb8d32e212c49b7487b08962c18f0Johan Hedbergvoid set_default_adapter(int new_default); 31