[cups.development] cups ppd_file_t binary compatibility

Hidetomo Katsura Hidetomo.Katsura at efi.com
Wed Apr 25 18:09:04 PDT 2007


a quick question: how likely is it or at least are you aware of any cups
clients on Mac OS X that depend on the size of ppd_file_t struct to be
constant?

i'm asking this because i need to add an extra field to ppd_file_t to hack
the existing cups 1.1.23 on Mac OS X 10.4.

at least i now know Mac OS X itself depends on the size of ppd_option_t
struct since it crashed after i added an extra field to it. no binary
compatibility there... :(

also it would be nice if cups.org discourages developers to depend on the
size of ppd_file_t (or any struct) so that we can extend cups functionality
without worrying about breaking the binary compatibility. or has it already
been discouraged?

katsura





More information about the cups-devel mailing list