libftdi Archives

Subject: RE: merging of libusb-1.0 support into mainline

From: "Michael Plante" <michael.plante@xxxxxxxxx>
To: <libftdi@xxxxxxxxxxxxxxxxxxxxxxx>
Cc: "Mike Frysinger" <vapier@xxxxxxxxxx>
Date: Tue, 7 Sep 2010 13:04:06 -0500
Uwe Bonnes wrote:
>> Wouldn't be the 1.0 release be a good point where we should make
ftdi_context
>> opaque to the users, disallow all direct access and  force the user to do
>> ftdi_new() ?


Maybe, but there were some members that do not currently have functions
available to modify them.  At least in 0.1.  Such as usb_read_timeout and
usb_write_timeout.  If you make it opaque, be prepared to add
accessors/modifiers (or whatever jargon is used in C).

Michael


--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread