bthidd.c (128080) | bthidd.c (133178) |
---|---|
1/* 2 * bthidd.c 3 * 4 * Copyright (c) 2004 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: bthidd.c,v 1.4 2004/02/26 21:48:44 max Exp $ | 1/* 2 * bthidd.c 3 * 4 * Copyright (c) 2004 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: bthidd.c,v 1.4 2004/02/26 21:48:44 max Exp $ |
29 * $FreeBSD: head/usr.sbin/bluetooth/bthidd/bthidd.c 128080 2004-04-10 00:18:00Z emax $ | 29 * $FreeBSD: head/usr.sbin/bluetooth/bthidd/bthidd.c 133178 2004-08-05 16:32:41Z emax $ |
30 */ 31 32#include <sys/time.h> 33#include <sys/queue.h> 34#include <assert.h> 35#include <bluetooth.h> 36#include <err.h> 37#include <errno.h> --- 200 unchanged lines hidden (view full) --- 238 */ 239 240static void 241usage(void) 242{ 243 fprintf(stderr, 244"Usage: %s [options]\n" \ 245"Where options are:\n" \ | 30 */ 31 32#include <sys/time.h> 33#include <sys/queue.h> 34#include <assert.h> 35#include <bluetooth.h> 36#include <err.h> 37#include <errno.h> --- 200 unchanged lines hidden (view full) --- 238 */ 239 240static void 241usage(void) 242{ 243 fprintf(stderr, 244"Usage: %s [options]\n" \ 245"Where options are:\n" \ |
246" -a bdaddr specify BDADDR to listen on (default ANY)\n" \ | 246" -a address specify address to listen on (default ANY)\n" \ |
247" -c file specify config file name\n" \ 248" -d run in foreground\n" \ 249" -H file specify known HIDs file name\n" \ 250" -h display this message\n" \ 251" -p file specify PID file name\n" \ 252" -t tval client rescan interval (sec)\n" \ 253"", BTHIDD_IDENT); 254 exit(255); 255} 256 | 247" -c file specify config file name\n" \ 248" -d run in foreground\n" \ 249" -H file specify known HIDs file name\n" \ 250" -h display this message\n" \ 251" -p file specify PID file name\n" \ 252" -t tval client rescan interval (sec)\n" \ 253"", BTHIDD_IDENT); 254 exit(255); 255} 256 |