libftdi Archives

Subject: Re: stable ABI

From: Mike Frysinger <vapier@xxxxxxxxxx>
To: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Cc: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Fri, 17 Sep 2010 14:32:47 -0400
On Friday, September 17, 2010 03:39:21 Thomas Jarosch wrote:
> On Friday, 17. September 2010 00:33:07 Mike Frysinger wrote:
> > what about ftdi_eeprom ?
> ftdi_eeprom will probably be merged into libftdi, see Uwe's latest
> work on the EEPROM code posted some days ago.

the question is "what fields of the struct should users have access to"

the goal is to hide struct internals completely so that the exported header 
only has an opaque type:
        struct ftdi_eeprom;

any fields inside of that which users need to access will be via get/set 
helpers.  then people may make all the changes they want to the structure 
without disrupting the ABI.

Attachment: signature.asc
Description: This is a digitally signed message part.

Current Thread