sdpquery.h revision 1.3
11.3Splunky/* $NetBSD: sdpquery.h,v 1.3 2009/05/12 18:37:50 plunky 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.3Splunkyextern const char *control_socket; 351.3Splunkyextern bdaddr_t local_addr; 361.3Splunkyextern bdaddr_t remote_addr; 371.1Sgdamore 381.3Splunkyextern bool Nflag, Rflag, Xflag; 391.1Sgdamore 401.3Splunkyint do_sdp_browse(int, const char **); 411.3Splunkyint do_sdp_record(int, const char **); 421.3Splunkyint do_sdp_search(int, const char **); 431.1Sgdamore 441.3Splunkyvoid print_record(sdp_data_t *); 45