sdpcontrol.c (124758) | sdpcontrol.c (133178) |
---|---|
1/* 2 * sdpcontrol.c 3 * 4 * Copyright (c) 2001-2003 Maksim Yevmenkin <m_evmenkin@yahoo.com> 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 12 unchanged lines hidden (view full) --- 21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * SUCH DAMAGE. 27 * 28 * $Id: sdpcontrol.c,v 1.1 2003/09/08 02:27:27 max Exp $ | 1/* 2 * sdpcontrol.c 3 * 4 * Copyright (c) 2001-2003 Maksim Yevmenkin <m_evmenkin@yahoo.com> 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 12 unchanged lines hidden (view full) --- 21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * SUCH DAMAGE. 27 * 28 * $Id: sdpcontrol.c,v 1.1 2003/09/08 02:27:27 max Exp $ |
29 * $FreeBSD: head/usr.sbin/bluetooth/sdpcontrol/sdpcontrol.c 124758 2004-01-20 20:48:26Z emax $ | 29 * $FreeBSD: head/usr.sbin/bluetooth/sdpcontrol/sdpcontrol.c 133178 2004-08-05 16:32:41Z emax $ |
30 */ 31 32#include <assert.h> 33#include <bluetooth.h> 34#include <err.h> 35#include <errno.h> 36#include <sdp.h> 37#include <stdio.h> --- 166 unchanged lines hidden (view full) --- 204 205/* Usage */ 206static void 207usage(void) 208{ 209 fprintf(stderr, 210"Usage: sdpcontrol options command\n" \ 211"Where options are:\n" | 30 */ 31 32#include <assert.h> 33#include <bluetooth.h> 34#include <err.h> 35#include <errno.h> 36#include <sdp.h> 37#include <stdio.h> --- 166 unchanged lines hidden (view full) --- 204 205/* Usage */ 206static void 207usage(void) 208{ 209 fprintf(stderr, 210"Usage: sdpcontrol options command\n" \ 211"Where options are:\n" |
212" -a bdaddr specify bdaddr\n" \ | 212" -a address address to connect to\n" \ |
213" -c path path to the control socket (default is %s)\n" \ 214" -h display usage and quit\n" \ 215" -l connect to the local SDP server via control socket\n" \ 216" command one of the supported commands\n", SDP_LOCAL_PATH); 217 exit(255); 218} /* usage */ 219 | 213" -c path path to the control socket (default is %s)\n" \ 214" -h display usage and quit\n" \ 215" -l connect to the local SDP server via control socket\n" \ 216" command one of the supported commands\n", SDP_LOCAL_PATH); 217 exit(255); 218} /* usage */ 219 |