X-Git-Url: https://git.tcpdump.org/libpcap/blobdiff_plain/455aff8ba9495985ee622ce38d69dd5795d6e2de..09b51d326c38ea8e10ce4da09c09d50e08c5aeb8:/pcap-bt-linux.h diff --git a/pcap-bt-linux.h b/pcap-bt-linux.h index 2c9e2942..163bd341 100644 --- a/pcap-bt-linux.h +++ b/pcap-bt-linux.h @@ -1,6 +1,5 @@ /* - * Copyright (c) 1999 - 2005 NetGroup, Politecnico di Torino (Italy) - * Copyright (c) 2005 - 2006 CACE Technologies, Davis (California) + * Copyright (c) 2006 Paolo Abeni (Italy) * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -12,9 +11,8 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the Politecnico di Torino, CACE Technologies - * nor the names of its contributors may be used to endorse or promote - * products derived from this software without specific prior written + * 3. The name of the author may not be used to endorse or promote + * products derived from this software without specific prior written * permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS @@ -30,12 +28,11 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * Bluetooth sniffing API implementation for Linux platform - * By Paolo Abeni - * + * By Paolo Abeni */ /* * Prototypes for Bluetooth-related functions */ -int bt_platform_finddevs(pcap_if_t **alldevsp, char *err_str); -pcap_t* bt_open_live(const char* bus, int snaplen, int promisc , int to_ms, char* errmsg); +int bt_findalldevs(pcap_if_list_t *devlistp, char *err_str); +pcap_t *bt_create(const char *device, char *ebuf, int *is_ours);