[cups.development] Parentheses Around IPP Operation Names

Michael Sweet msweet at apple.com
Fri Nov 18 10:00:54 PST 2011


On Nov 18, 2011, at 9:35 AM, Matthew Hansen wrote:
> I have noticed that CUPS 1.6 r10118 that a number of of the IPP Operations in ipp-support.c have parentheses around them, such as (Send-Notifications), even if they appear normally in CUPS 1.5.  I was wondering what the significance of this is.


Names in parenthesis for the operations, status codes, or attribute tags are for abandoned values. For example, the Send-Notifications operation was part of the ipp-indp-method draft that was never advanced. Since we never re-use enumeration values, that operation code will always be "Send-Notifications" and we want to be able to report that.  The corresponding C enum constants are marked private for purposes of documentation...

________________________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair





More information about the cups-devel mailing list