xref: /aosp_15_r20/external/libxml2/doc/devhelp/libxml2-globals.html (revision 7c5688314b92172186c154356a6374bf7684c3ca)
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4<title>globals: interface for all global variables of the library</title>
5<meta name="generator" content="Libxml2 devhelp stylesheet">
6<link rel="start" href="index.html" title="libxml2 Reference Manual">
7<link rel="up" href="general.html" title="API">
8<link rel="stylesheet" href="style.css" type="text/css">
9<link rel="chapter" href="general.html" title="API">
10</head>
11<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
12<table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
13<td><a accesskey="p" href="libxml2-entities.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
14<td><a accesskey="u" href="general.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
15<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
16<td><a accesskey="n" href="libxml2-hash.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
17<th width="100%" align="center">libxml2 Reference Manual</th>
18</tr></table>
19<h2><span class="refentrytitle">globals</span></h2>
20<p>globals - interface for all global variables of the library</p>
21<p>Deprecated, don't use </p>
22<p>Author(s): </p>
23<div class="refsynopsisdiv">
24<h2>Synopsis</h2>
25<pre class="synopsis">typedef struct _xmlGlobalState <a href="#xmlGlobalState">xmlGlobalState</a>;
26typedef <a href="libxml2-globals.html#xmlGlobalState">xmlGlobalState</a> * <a href="#xmlGlobalStatePtr">xmlGlobalStatePtr</a>;
27<a href="libxml2-globals.html#xmlGlobalStatePtr">xmlGlobalStatePtr</a>	<a href="#xmlGetGlobalState">xmlGetGlobalState</a>	(void);
28void	<a href="#xmlInitializeGlobalState">xmlInitializeGlobalState</a>	(<a href="libxml2-globals.html#xmlGlobalStatePtr">xmlGlobalStatePtr</a> gs);
29</pre>
30</div>
31<div class="refsect1" lang="en"><h2>Description</h2></div>
32<div class="refsect1" lang="en">
33<h2>Details</h2>
34<div class="refsect2" lang="en">
35<div class="refsect2" lang="en">
36<h3>
37<a name="xmlGlobalState">Structure </a>xmlGlobalState</h3>
38<pre class="programlisting">struct _xmlGlobalState {
39The content of this structure is not made public by the API.
40} xmlGlobalState;
41</pre>
42<p></p>
43</div>
44<hr>
45<div class="refsect2" lang="en">
46<h3>
47<a name="xmlGlobalStatePtr">Typedef </a>xmlGlobalStatePtr</h3>
48<pre class="programlisting"><a href="libxml2-globals.html#xmlGlobalState">xmlGlobalState</a> * xmlGlobalStatePtr;
49</pre>
50<p></p>
51</div>
52<hr>
53<div class="refsect2" lang="en">
54<h3>
55<a name="xmlGetGlobalState"></a>xmlGetGlobalState ()</h3>
56<pre class="programlisting"><a href="libxml2-globals.html#xmlGlobalStatePtr">xmlGlobalStatePtr</a>	xmlGetGlobalState	(void)<br>
57</pre>
58<p>DEPRECATED</p>
59<div class="variablelist"><table border="0">
60<col align="left">
61<tbody><tr>
62<td><span class="term"><i><tt>Returns</tt></i>:</span></td>
63<td>NULL.</td>
64</tr></tbody>
65</table></div>
66</div>
67<hr>
68<div class="refsect2" lang="en">
69<h3>
70<a name="xmlInitializeGlobalState"></a>xmlInitializeGlobalState ()</h3>
71<pre class="programlisting">void	xmlInitializeGlobalState	(<a href="libxml2-globals.html#xmlGlobalStatePtr">xmlGlobalStatePtr</a> gs)<br>
72</pre>
73<p>DEPRECATED: No-op.</p>
74<div class="variablelist"><table border="0">
75<col align="left">
76<tbody><tr>
77<td><span class="term"><i><tt>gs</tt></i>:</span></td>
78<td>a pointer to a newly allocated global state</td>
79</tr></tbody>
80</table></div>
81</div>
82<hr>
83</div>
84</div>
85</body>
86</html>
87