.. as a specific example, hostmot2.h defines hostmot2_t. Between 2.7 and master, we added the config.pktuarts and pktuart fields to it. This is technically API compatible, since the fields were only added; the meaning of existing fields is not changed. However, it is ABI incompatible since the size and layout of the structure changed. We've never tried to be ABI compatible in this way.

Between 2.6 and 2.7, we made an incompatible API change, removing one API and adding two to replace it:

   -int hm2_sserial_check_errors(hostmot2_t *hm2, hm2_sserial_instance_t *inst);
   +int hm2_sserial_check_local_errors(hostmot2_t *hm2, hm2_sserial_instance_t 
*inst);
   +int hm2_sserial_check_remote_errors(hostmot2_t *hm2, hm2_sserial_instance_t 
*inst);

If this had been public API, then we would have needed to provide the old API too, during the interval that the old API was deprecated.

Jeff

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to