[cups.development] How to use http_t data structure.

Michael R Sweet msweet at apple.com
Wed Dec 9 06:26:46 PST 2009


(please don't cross-post)

On Dec 9, 2009, at 3:34 AM, Mangesh Kute <kutemangesh at gmail.com> wrote:

> Hi,
>
> http_t data structure is now private.

Technically it has been since CUPS 1.0.

> 1. How can one create object of this structure ?

httpConnect and httpConnectEncrypt create a http_t pointer for you.

> 2. In CUPS api, very few functions are there to set/get member fo this
> structure. What is the right way to access member of this structure ?

First, we provide accessors for all of the fields needed by apps.

Second, what are you trying to do?

>
> Regards,
> Mangesh
>
> _______________________________________________
> cups-dev mailing list
> cups-dev at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups-dev





More information about the cups mailing list