On Sat, Jan 14, 2006 at 07:22:07PM -0800, Hisashi T Fujinaka wrote:
> Thanks for the response. I think I may be looking in the wrong place to
> determine whether a global variable is publically accessible
> (globals.h). Is there any other way to see whether variables and struct
> supposed to be used publically? I need to check the LSB spec for
> discrepancies and it seems to imply that _xmlGlobalState is just a
> regular struct.
To me it's not part of the API. It's a mechanism to make thread specific
some of the global variables which influence the processing. This is an
error at two level to use them:
- one should not use the global variables, usually there is equivalent
mechanism to influence parsing in the newer APIs
- second this strustucre is thread local storage, not something which
is a general purpose programming tool of the library, it must be made
public for the remapping to work, but it is not intended as a user
tool.
In a nutshell, really don't do this.
Daniel
--
Daniel Veillard | Red Hat http://redhat.com/
[EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml