[cups.development] ipp_request_t union help

D. Hageman dhageman at dracken.com
Sat Oct 23 02:10:14 PDT 2004


I am looking at exposing the IPP functions of CUPS in the Net::CUPS perl 
package that I have put together, but have run into an issue that I need 
some clarification.

How does one know what struct is active in the union of structs in 
ipp_request_t (any, op, status, event)?

Usually a field exists in the struct to indicate which is "active".  I 
look at the code a bit and didn't see anything obvious.  I am sure I just 
missed it.


//========================================================\\
||  D. Hageman                    <dhageman at dracken.com>  ||
\\========================================================//





More information about the cups-devel mailing list