Sometimes we meet "struct xxxx;" in C file, take libusb.h which is the header file of libusb.so as example, as shown below (struct libusb_device
):
struct libusb_context;
struct libusb_device;
struct libusb_device_handle;
What does this mean? Is it only a declaration? But I can't find where struct libusb_device
is defined.
The whole libusb.h file is here: libusb.h.