Deleted Added
full compact
libusb10.h (195957) libusb10.h (199575)
1/* $FreeBSD: head/lib/libusb/libusb10.h 195957 2009-07-30 00:11:41Z alfred $ */
1/* $FreeBSD: head/lib/libusb/libusb10.h 199575 2009-11-20 08:57:25Z thompsa $ */
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.

--- 50 unchanged lines hidden (view full) ---

60 struct libusb_pollfd pollfd;
61};
62
63struct libusb_super_transfer {
64 TAILQ_ENTRY(libusb_super_transfer) entry;
65 uint8_t *curr_data;
66 uint32_t rem_len;
67 uint32_t last_len;
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.

--- 50 unchanged lines hidden (view full) ---

60 struct libusb_pollfd pollfd;
61};
62
63struct libusb_super_transfer {
64 TAILQ_ENTRY(libusb_super_transfer) entry;
65 uint8_t *curr_data;
66 uint32_t rem_len;
67 uint32_t last_len;
68 uint8_t flags;
68 uint8_t state;
69#define LIBUSB_SUPER_XFER_ST_NONE 0
70#define LIBUSB_SUPER_XFER_ST_PEND 1
69};
70
71struct libusb_context {
72 int debug;
73 int debug_fixed;
74 int ctrl_pipe[2];
75 int tr_done_ref;
76 int tr_done_gen;

--- 37 unchanged lines hidden ---
71};
72
73struct libusb_context {
74 int debug;
75 int debug_fixed;
76 int ctrl_pipe[2];
77 int tr_done_ref;
78 int tr_done_gen;

--- 37 unchanged lines hidden ---