diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2013-12-23 16:55:11 -0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2013-12-23 16:55:11 -0800 |
commit | 177eb4837ce0d2815cbda527e7c3081559b30dd9 (patch) | |
tree | d5761d45dde33add2eba8d32d507682628e62789 /monitor/hwdb.h | |
parent | 670de1db48960dc4c497da6964072884b868b16a (diff) | |
download | bluez-177eb4837ce0d2815cbda527e7c3081559b30dd9.tar.gz |
monitor: Decode vendor and product information from Device ID
Diffstat (limited to 'monitor/hwdb.h')
-rw-r--r-- | monitor/hwdb.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/monitor/hwdb.h b/monitor/hwdb.h new file mode 100644 index 000000000..8cf6571ed --- /dev/null +++ b/monitor/hwdb.h @@ -0,0 +1,27 @@ +/* + * + * BlueZ - Bluetooth protocol stack for Linux + * + * Copyright (C) 2011-2012 Intel Corporation + * Copyright (C) 2004-2010 Marcel Holtmann <marcel@holtmann.org> + * + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + */ + +#include <stdbool.h> + +bool hwdb_get_vendor_model(const char *modalias, char **vendor, char **model); |