xref: /dflybsd-src/usr.bin/sdpquery/sdpquery.h (revision 86d7f5d305c6adaa56ff4582ece9859d73106103)
1*86d7f5d3SJohn Marino /* $NetBSD: sdpquery.h,v 1.2 2006/07/26 10:54:49 tron Exp $ */
2*86d7f5d3SJohn Marino /* $DragonFly: src/usr.bin/sdpquery/sdpquery.h,v 1.1 2008/02/08 14:06:25 hasso Exp $ */
3*86d7f5d3SJohn Marino 
4*86d7f5d3SJohn Marino /*-
5*86d7f5d3SJohn Marino  * Copyright (c) 2006 Itronix Inc.
6*86d7f5d3SJohn Marino  * All rights reserved.
7*86d7f5d3SJohn Marino  *
8*86d7f5d3SJohn Marino  * Written by Iain Hibbert for Itronix Inc.
9*86d7f5d3SJohn Marino  *
10*86d7f5d3SJohn Marino  * Redistribution and use in source and binary forms, with or without
11*86d7f5d3SJohn Marino  * modification, are permitted provided that the following conditions
12*86d7f5d3SJohn Marino  * are met:
13*86d7f5d3SJohn Marino  * 1. Redistributions of source code must retain the above copyright
14*86d7f5d3SJohn Marino  *    notice, this list of conditions and the following disclaimer.
15*86d7f5d3SJohn Marino  * 2. Redistributions in binary form must reproduce the above copyright
16*86d7f5d3SJohn Marino  *    notice, this list of conditions and the following disclaimer in the
17*86d7f5d3SJohn Marino  *    documentation and/or other materials provided with the distribution.
18*86d7f5d3SJohn Marino  * 3. The name of Itronix Inc. may not be used to endorse
19*86d7f5d3SJohn Marino  *    or promote products derived from this software without specific
20*86d7f5d3SJohn Marino  *    prior written permission.
21*86d7f5d3SJohn Marino  *
22*86d7f5d3SJohn Marino  * THIS SOFTWARE IS PROVIDED BY ITRONIX INC. ``AS IS'' AND
23*86d7f5d3SJohn Marino  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
24*86d7f5d3SJohn Marino  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
25*86d7f5d3SJohn Marino  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL ITRONIX INC. BE LIABLE FOR ANY
26*86d7f5d3SJohn Marino  * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
27*86d7f5d3SJohn Marino  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
28*86d7f5d3SJohn Marino  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
29*86d7f5d3SJohn Marino  * ON ANY THEORY OF LIABILITY, WHETHER IN
30*86d7f5d3SJohn Marino  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31*86d7f5d3SJohn Marino  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32*86d7f5d3SJohn Marino  * POSSIBILITY OF SUCH DAMAGE.
33*86d7f5d3SJohn Marino  */
34*86d7f5d3SJohn Marino 
35*86d7f5d3SJohn Marino #ifndef __BTQUERY_H__
36*86d7f5d3SJohn Marino #define __BTQUERY_H__
37*86d7f5d3SJohn Marino 
38*86d7f5d3SJohn Marino extern const char *control_socket;
39*86d7f5d3SJohn Marino 
40*86d7f5d3SJohn Marino int do_sdp_browse(bdaddr_t *, bdaddr_t *, int, char const **);
41*86d7f5d3SJohn Marino int do_sdp_search(bdaddr_t *, bdaddr_t *, int, char const **);
42*86d7f5d3SJohn Marino 
43*86d7f5d3SJohn Marino #endif /* __BTQUERY_H__ */
44