libusb.h (302125) | libusb.h (302171) |
---|---|
1/* $FreeBSD: head/lib/libusb/libusb.h 302125 2016-06-23 07:12:22Z hselasky $ */ | 1/* $FreeBSD: head/lib/libusb/libusb.h 302171 2016-06-24 10:55:14Z hselasky $ */ |
2/*- 3 * Copyright (c) 2009 Sylvestre Gallon. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. --- 239 unchanged lines hidden (view full) --- 249} libusb_hotplug_event; 250 251/* libusb structures */ 252 253struct libusb_context; 254struct libusb_device; 255struct libusb_transfer; 256struct libusb_device_handle; | 2/*- 3 * Copyright (c) 2009 Sylvestre Gallon. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. --- 239 unchanged lines hidden (view full) --- 249} libusb_hotplug_event; 250 251/* libusb structures */ 252 253struct libusb_context; 254struct libusb_device; 255struct libusb_transfer; 256struct libusb_device_handle; |
257struct libusb_hotplug_callback_handle; | 257struct libusb_hotplug_callback_handle_struct; |
258 259struct libusb_pollfd { 260 int fd; 261 short events; 262}; 263 264struct libusb_version { 265 const uint16_t major; --- 5 unchanged lines hidden (view full) --- 271}; 272 273typedef struct libusb_context libusb_context; 274typedef struct libusb_device libusb_device; 275typedef struct libusb_device_handle libusb_device_handle; 276typedef struct libusb_pollfd libusb_pollfd; 277typedef void (*libusb_pollfd_added_cb) (int fd, short events, void *user_data); 278typedef void (*libusb_pollfd_removed_cb) (int fd, void *user_data); | 258 259struct libusb_pollfd { 260 int fd; 261 short events; 262}; 263 264struct libusb_version { 265 const uint16_t major; --- 5 unchanged lines hidden (view full) --- 271}; 272 273typedef struct libusb_context libusb_context; 274typedef struct libusb_device libusb_device; 275typedef struct libusb_device_handle libusb_device_handle; 276typedef struct libusb_pollfd libusb_pollfd; 277typedef void (*libusb_pollfd_added_cb) (int fd, short events, void *user_data); 278typedef void (*libusb_pollfd_removed_cb) (int fd, void *user_data); |
279typedef struct libusb_hotplug_callback_handle *libusb_hotplug_callback_handle; | 279typedef struct libusb_hotplug_callback_handle_struct *libusb_hotplug_callback_handle; |
280 281typedef struct libusb_device_descriptor { 282 uint8_t bLength; 283 uint8_t bDescriptorType; 284 uint16_t bcdUSB; 285 uint8_t bDeviceClass; 286 uint8_t bDeviceSubClass; 287 uint8_t bDeviceProtocol; --- 292 unchanged lines hidden --- | 280 281typedef struct libusb_device_descriptor { 282 uint8_t bLength; 283 uint8_t bDescriptorType; 284 uint16_t bcdUSB; 285 uint8_t bDeviceClass; 286 uint8_t bDeviceSubClass; 287 uint8_t bDeviceProtocol; --- 292 unchanged lines hidden --- |