I noticed that microhttpd.h only contains only forward defintions of the
MHD_UpgradeResponseHandle structure.  The file internal.h contains the
actual structure definition with all members.

 When I try to include the internal.h file directly, I get tons of
compilation errors leading me to believe that I'm not supposed to be
including it.

My question is, when building my own applications, how am I supposed to
access member portions of the MHD_UpgradeResponseHandle structure without
including internal.h.  Am I expected to define the structure within my own
project headers and use the provided MHD_UpgradeResponseHandle pointer as
somewhat of an opaque type?

I don't mind doing this, I just want to make sure this is the correct
approach.

Thanks;
~JD

Reply via email to