sdpquery.h revision 1.1
11.1Sgdamore/*	$NetBSD: sdpquery.h,v 1.1 2006/06/19 15:44:56 gdamore Exp $	*/
21.1Sgdamore
31.1Sgdamore/*-
41.1Sgdamore * Copyright (c) 2006 Itronix Inc.
51.1Sgdamore * All rights reserved.
61.1Sgdamore *
71.1Sgdamore * Written by Iain Hibbert for Itronix Inc.
81.1Sgdamore *
91.1Sgdamore * Redistribution and use in source and binary forms, with or without
101.1Sgdamore * modification, are permitted provided that the following conditions
111.1Sgdamore * are met:
121.1Sgdamore * 1. Redistributions of source code must retain the above copyright
131.1Sgdamore *    notice, this list of conditions and the following disclaimer.
141.1Sgdamore * 2. Redistributions in binary form must reproduce the above copyright
151.1Sgdamore *    notice, this list of conditions and the following disclaimer in the
161.1Sgdamore *    documentation and/or other materials provided with the distribution.
171.1Sgdamore * 3. The name of Itronix Inc. may not be used to endorse
181.1Sgdamore *    or promote products derived from this software without specific
191.1Sgdamore *    prior written permission.
201.1Sgdamore *
211.1Sgdamore * THIS SOFTWARE IS PROVIDED BY ITRONIX INC. ``AS IS'' AND
221.1Sgdamore * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
231.1Sgdamore * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
241.1Sgdamore * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL ITRONIX INC. BE LIABLE FOR ANY
251.1Sgdamore * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
261.1Sgdamore * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
271.1Sgdamore * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
281.1Sgdamore * ON ANY THEORY OF LIABILITY, WHETHER IN
291.1Sgdamore * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
301.1Sgdamore * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
311.1Sgdamore * POSSIBILITY OF SUCH DAMAGE.
321.1Sgdamore */
331.1Sgdamore
341.1Sgdamore#ifndef __BTQUERY_H__
351.1Sgdamore#define __BTQUERY_H__
361.1Sgdamore
371.1Sgdamoreextern const char *control_socket;
381.1Sgdamore
391.1Sgdamoreint do_sdp_config(bdaddr_t *, bdaddr_t *, int, char const **);
401.1Sgdamoreint do_sdp_browse(bdaddr_t *, bdaddr_t *, int, char const **);
411.1Sgdamoreint do_sdp_search(bdaddr_t *, bdaddr_t *, int, char const **);
421.1Sgdamore
431.1Sgdamore#endif /* __BTQUERY_H__ */
44