1*f5db72e7Splunky /* $NetBSD: btdevctl.h,v 1.3 2007/04/21 06:15:24 plunky Exp $ */ 2885b13c5Splunky 3885b13c5Splunky /*- 4885b13c5Splunky * Copyright (c) 2006 Itronix Inc. 5885b13c5Splunky * All rights reserved. 6885b13c5Splunky * 7885b13c5Splunky * Written by Iain Hibbert for Itronix Inc. 8885b13c5Splunky * 9885b13c5Splunky * Redistribution and use in source and binary forms, with or without 10885b13c5Splunky * modification, are permitted provided that the following conditions 11885b13c5Splunky * are met: 12885b13c5Splunky * 1. Redistributions of source code must retain the above copyright 13885b13c5Splunky * notice, this list of conditions and the following disclaimer. 14885b13c5Splunky * 2. Redistributions in binary form must reproduce the above copyright 15885b13c5Splunky * notice, this list of conditions and the following disclaimer in the 16885b13c5Splunky * documentation and/or other materials provided with the distribution. 17885b13c5Splunky * 3. The name of Itronix Inc. may not be used to endorse 18885b13c5Splunky * or promote products derived from this software without specific 19885b13c5Splunky * prior written permission. 20885b13c5Splunky * 21885b13c5Splunky * THIS SOFTWARE IS PROVIDED BY ITRONIX INC. ``AS IS'' AND 22885b13c5Splunky * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 23885b13c5Splunky * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 24885b13c5Splunky * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ITRONIX INC. BE LIABLE FOR ANY 25885b13c5Splunky * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 26885b13c5Splunky * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 27885b13c5Splunky * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 28885b13c5Splunky * ON ANY THEORY OF LIABILITY, WHETHER IN 29885b13c5Splunky * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 30885b13c5Splunky * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 31885b13c5Splunky * POSSIBILITY OF SUCH DAMAGE. 32885b13c5Splunky */ 33885b13c5Splunky 34885b13c5Splunky #ifndef __BTDEVCTL_H__ 35885b13c5Splunky #define __BTDEVCTL_H__ 36885b13c5Splunky 374f1cbddcSplunky /* db.c */ 384f1cbddcSplunky prop_dictionary_t db_get(bdaddr_t *, bdaddr_t *, const char *); 394f1cbddcSplunky int db_set(prop_dictionary_t, bdaddr_t *, bdaddr_t *, const char *); 40885b13c5Splunky 414f1cbddcSplunky /* print.c */ 424f1cbddcSplunky void cfg_print(prop_dictionary_t); 43885b13c5Splunky 444f1cbddcSplunky /* sdp.c */ 454f1cbddcSplunky prop_dictionary_t cfg_query(bdaddr_t *, bdaddr_t *, const char *); 46*f5db72e7Splunky const char *hid_mode(prop_data_t); 47885b13c5Splunky 48885b13c5Splunky #endif /* __BTDEVCTL_H__ */ 49