]> The Tcpdump Group git mirrors - libpcap/blobdiff - pcap-bt-linux.h
Update config.{guess,sub}, timestamps 2023-01-01,2023-01-21
[libpcap] / pcap-bt-linux.h
index 2c9e29427e94a115fb2ad5500712d53ef4e17db1..163bd341fc782d6b594c65c9e35f4b52011abeaf 100644 (file)
@@ -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
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
  * Bluetooth sniffing API implementation for Linux platform
- * By Paolo Abeni <[email protected]>
- *
+ * By Paolo Abeni <[email protected]>
  */
 
 /*
  * 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);