summaryrefslogtreecommitdiff
path: root/pcap-usb-linux.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-01-18 13:36:27 -0800
committerGuy Harris <guy@alum.mit.edu>2017-01-18 13:36:27 -0800
commit2a6286aa06b043240dd8c3524668455562d466d8 (patch)
tree062ee1df238c3e113a0451e60bb2b030867ffb17 /pcap-usb-linux.h
parent5fa9ce62e3235688ce3ed5928cbce7754ec6291c (diff)
downloadlibpcap-2a6286aa06b043240dd8c3524668455562d466d8.tar.gz
Have a pcap_if_list_t structure for use by the findalldevs code.
It's not part of the API, but it's an internal structure used by the findalldevs code. Currently, it just has a pointer to the beginning of the list, but it could change in order to speed up the process of adding to the list.
Diffstat (limited to 'pcap-usb-linux.h')
-rw-r--r--pcap-usb-linux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcap-usb-linux.h b/pcap-usb-linux.h
index 234a262f..3ddc12f4 100644
--- a/pcap-usb-linux.h
+++ b/pcap-usb-linux.h
@@ -34,5 +34,5 @@
/*
* Prototypes for USB-related functions
*/
-int usb_findalldevs(pcap_if_t **alldevsp, char *err_str);
+int usb_findalldevs(pcap_if_list_t *devlistp, char *err_str);
pcap_t *usb_create(const char *device, char *ebuf, int *is_ours);