1 /* 2 * 3 * BlueZ - Bluetooth protocol stack for Linux 4 * 5 * Copyright (C) 2010 GSyC/LibreSoft, Universidad Rey Juan Carlos. 6 * Authors: 7 * Santiago Carot Nemesio <sancane at gmail.com> 8 * Jose Antonio Santos-Cadenas <santoscadenas at gmail.com> 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 23 * 24 */ 25 26 int hdp_adapter_register(DBusConnection *conn, struct btd_adapter *btd_adapter); 27 void hdp_adapter_unregister(struct btd_adapter *btd_adapter); 28 29 int hdp_device_register(DBusConnection *conn, struct btd_device *device); 30 void hdp_device_unregister(struct btd_device *device); 31 32 int hdp_manager_start(DBusConnection *conn); 33 void hdp_manager_stop(void); 34 35 gboolean hdp_set_mcl_cb(struct hdp_device *device, GError **err); 36