/usr/share/gtk-doc/html/libXsettings-client/libXsettings-client-xsettings-common.html is in libxsettings-client-doc 0.17-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>xsettings-common</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="GPE Manual: libxsettings-client Reference Manual">
<link rel="up" href="ch01.html" title="Programmers Interface">
<link rel="prev" href="libXsettings-client-xsettings-client.html" title="xsettings-client">
<link rel="next" href="libXsettings-client-config.html" title="config">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="libXsettings-client-xsettings-client.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GPE Manual: libxsettings-client Reference Manual</th>
<td><a accesskey="n" href="libXsettings-client-config.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#libXsettings-client-xsettings-common.synopsis" class="shortcut">Top</a>
|
<a href="#libXsettings-client-xsettings-common.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="libXsettings-client-xsettings-common"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libXsettings-client-xsettings-common.top_of_page"></a>xsettings-common</span></h2>
<p>xsettings-common</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="libXsettings-client-xsettings-common.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">struct <a class="link" href="libXsettings-client-xsettings-common.html#XSettingsBuffer" title="struct XSettingsBuffer">XSettingsBuffer</a>;
struct <a class="link" href="libXsettings-client-xsettings-common.html#XSettingsColor" title="struct XSettingsColor">XSettingsColor</a>;
struct <a class="link" href="libXsettings-client-xsettings-common.html#XSettingsList" title="struct XSettingsList">XSettingsList</a>;
struct <a class="link" href="libXsettings-client-xsettings-common.html#XSettingsSetting" title="struct XSettingsSetting">XSettingsSetting</a>;
enum <a class="link" href="libXsettings-client-xsettings-common.html#XSettingsType" title="enum XSettingsType">XSettingsType</a>;
enum <a class="link" href="libXsettings-client-xsettings-common.html#XSettingsResult" title="enum XSettingsResult">XSettingsResult</a>;
<a class="link" href="libXsettings-client-xsettings-common.html#XSettingsSetting" title="struct XSettingsSetting"><span class="returnvalue">XSettingsSetting</span></a> * <a class="link" href="libXsettings-client-xsettings-common.html#xsettings-setting-copy" title="xsettings_setting_copy ()">xsettings_setting_copy</a> (<em class="parameter"><code><a class="link" href="libXsettings-client-xsettings-common.html#XSettingsSetting" title="struct XSettingsSetting"><span class="type">XSettingsSetting</span></a> *setting</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libXsettings-client-xsettings-common.html#xsettings-setting-free" title="xsettings_setting_free ()">xsettings_setting_free</a> (<em class="parameter"><code><a class="link" href="libXsettings-client-xsettings-common.html#XSettingsSetting" title="struct XSettingsSetting"><span class="type">XSettingsSetting</span></a> *setting</code></em>);
<span class="returnvalue">int</span> <a class="link" href="libXsettings-client-xsettings-common.html#xsettings-setting-equal" title="xsettings_setting_equal ()">xsettings_setting_equal</a> (<em class="parameter"><code><a class="link" href="libXsettings-client-xsettings-common.html#XSettingsSetting" title="struct XSettingsSetting"><span class="type">XSettingsSetting</span></a> *setting_a</code></em>,
<em class="parameter"><code><a class="link" href="libXsettings-client-xsettings-common.html#XSettingsSetting" title="struct XSettingsSetting"><span class="type">XSettingsSetting</span></a> *setting_b</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libXsettings-client-xsettings-common.html#xsettings-list-free" title="xsettings_list_free ()">xsettings_list_free</a> (<em class="parameter"><code><a class="link" href="libXsettings-client-xsettings-common.html#XSettingsList" title="struct XSettingsList"><span class="type">XSettingsList</span></a> *list</code></em>);
<a class="link" href="libXsettings-client-xsettings-common.html#XSettingsList" title="struct XSettingsList"><span class="returnvalue">XSettingsList</span></a> * <a class="link" href="libXsettings-client-xsettings-common.html#xsettings-list-copy" title="xsettings_list_copy ()">xsettings_list_copy</a> (<em class="parameter"><code><a class="link" href="libXsettings-client-xsettings-common.html#XSettingsList" title="struct XSettingsList"><span class="type">XSettingsList</span></a> *list</code></em>);
<a class="link" href="libXsettings-client-xsettings-common.html#XSettingsResult" title="enum XSettingsResult"><span class="returnvalue">XSettingsResult</span></a> <a class="link" href="libXsettings-client-xsettings-common.html#xsettings-list-insert" title="xsettings_list_insert ()">xsettings_list_insert</a> (<em class="parameter"><code><a class="link" href="libXsettings-client-xsettings-common.html#XSettingsList" title="struct XSettingsList"><span class="type">XSettingsList</span></a> **list</code></em>,
<em class="parameter"><code><a class="link" href="libXsettings-client-xsettings-common.html#XSettingsSetting" title="struct XSettingsSetting"><span class="type">XSettingsSetting</span></a> *setting</code></em>);
<a class="link" href="libXsettings-client-xsettings-common.html#XSettingsSetting" title="struct XSettingsSetting"><span class="returnvalue">XSettingsSetting</span></a> * <a class="link" href="libXsettings-client-xsettings-common.html#xsettings-list-lookup" title="xsettings_list_lookup ()">xsettings_list_lookup</a> (<em class="parameter"><code><a class="link" href="libXsettings-client-xsettings-common.html#XSettingsList" title="struct XSettingsList"><span class="type">XSettingsList</span></a> *list</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *name</code></em>);
<a class="link" href="libXsettings-client-xsettings-common.html#XSettingsResult" title="enum XSettingsResult"><span class="returnvalue">XSettingsResult</span></a> <a class="link" href="libXsettings-client-xsettings-common.html#xsettings-list-delete" title="xsettings_list_delete ()">xsettings_list_delete</a> (<em class="parameter"><code><a class="link" href="libXsettings-client-xsettings-common.html#XSettingsList" title="struct XSettingsList"><span class="type">XSettingsList</span></a> **list</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *name</code></em>);
<span class="returnvalue">char</span> <a class="link" href="libXsettings-client-xsettings-common.html#xsettings-byte-order" title="xsettings_byte_order ()">xsettings_byte_order</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
#define <a class="link" href="libXsettings-client-xsettings-common.html#XSETTINGS-PAD:CAPS" title="XSETTINGS_PAD()">XSETTINGS_PAD</a> (n,
m)
</pre>
</div>
<div class="refsect1">
<a name="libXsettings-client-xsettings-common.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="libXsettings-client-xsettings-common.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="XSettingsBuffer"></a><h3>struct XSettingsBuffer</h3>
<pre class="programlisting">struct XSettingsBuffer {
char byte_order;
size_t len;
unsigned char *data;
unsigned char *pos;
};
</pre>
</div>
<hr>
<div class="refsect2">
<a name="XSettingsColor"></a><h3>struct XSettingsColor</h3>
<pre class="programlisting">struct XSettingsColor {
unsigned short red, green, blue, alpha;
};
</pre>
</div>
<hr>
<div class="refsect2">
<a name="XSettingsList"></a><h3>struct XSettingsList</h3>
<pre class="programlisting">struct XSettingsList {
XSettingsSetting *setting;
XSettingsList *next;
};
</pre>
</div>
<hr>
<div class="refsect2">
<a name="XSettingsSetting"></a><h3>struct XSettingsSetting</h3>
<pre class="programlisting">struct XSettingsSetting {
char *name;
XSettingsType type;
union {
int v_int;
char *v_string;
XSettingsColor v_color;
} data;
unsigned long last_change_serial;
};
</pre>
</div>
<hr>
<div class="refsect2">
<a name="XSettingsType"></a><h3>enum XSettingsType</h3>
<pre class="programlisting">typedef enum {
XSETTINGS_TYPE_INT = 0,
XSETTINGS_TYPE_STRING = 1,
XSETTINGS_TYPE_COLOR = 2,
XSETTINGS_TYPE_NONE = 0xff
} XSettingsType;
</pre>
</div>
<hr>
<div class="refsect2">
<a name="XSettingsResult"></a><h3>enum XSettingsResult</h3>
<pre class="programlisting">typedef enum {
XSETTINGS_SUCCESS,
XSETTINGS_NO_MEM,
XSETTINGS_ACCESS,
XSETTINGS_FAILED,
XSETTINGS_NO_ENTRY,
XSETTINGS_DUPLICATE_ENTRY
} XSettingsResult;
</pre>
</div>
<hr>
<div class="refsect2">
<a name="xsettings-setting-copy"></a><h3>xsettings_setting_copy ()</h3>
<pre class="programlisting"><a class="link" href="libXsettings-client-xsettings-common.html#XSettingsSetting" title="struct XSettingsSetting"><span class="returnvalue">XSettingsSetting</span></a> * xsettings_setting_copy (<em class="parameter"><code><a class="link" href="libXsettings-client-xsettings-common.html#XSettingsSetting" title="struct XSettingsSetting"><span class="type">XSettingsSetting</span></a> *setting</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="xsettings-setting-free"></a><h3>xsettings_setting_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> xsettings_setting_free (<em class="parameter"><code><a class="link" href="libXsettings-client-xsettings-common.html#XSettingsSetting" title="struct XSettingsSetting"><span class="type">XSettingsSetting</span></a> *setting</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="xsettings-setting-equal"></a><h3>xsettings_setting_equal ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span> xsettings_setting_equal (<em class="parameter"><code><a class="link" href="libXsettings-client-xsettings-common.html#XSettingsSetting" title="struct XSettingsSetting"><span class="type">XSettingsSetting</span></a> *setting_a</code></em>,
<em class="parameter"><code><a class="link" href="libXsettings-client-xsettings-common.html#XSettingsSetting" title="struct XSettingsSetting"><span class="type">XSettingsSetting</span></a> *setting_b</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="xsettings-list-free"></a><h3>xsettings_list_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> xsettings_list_free (<em class="parameter"><code><a class="link" href="libXsettings-client-xsettings-common.html#XSettingsList" title="struct XSettingsList"><span class="type">XSettingsList</span></a> *list</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="xsettings-list-copy"></a><h3>xsettings_list_copy ()</h3>
<pre class="programlisting"><a class="link" href="libXsettings-client-xsettings-common.html#XSettingsList" title="struct XSettingsList"><span class="returnvalue">XSettingsList</span></a> * xsettings_list_copy (<em class="parameter"><code><a class="link" href="libXsettings-client-xsettings-common.html#XSettingsList" title="struct XSettingsList"><span class="type">XSettingsList</span></a> *list</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="xsettings-list-insert"></a><h3>xsettings_list_insert ()</h3>
<pre class="programlisting"><a class="link" href="libXsettings-client-xsettings-common.html#XSettingsResult" title="enum XSettingsResult"><span class="returnvalue">XSettingsResult</span></a> xsettings_list_insert (<em class="parameter"><code><a class="link" href="libXsettings-client-xsettings-common.html#XSettingsList" title="struct XSettingsList"><span class="type">XSettingsList</span></a> **list</code></em>,
<em class="parameter"><code><a class="link" href="libXsettings-client-xsettings-common.html#XSettingsSetting" title="struct XSettingsSetting"><span class="type">XSettingsSetting</span></a> *setting</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="xsettings-list-lookup"></a><h3>xsettings_list_lookup ()</h3>
<pre class="programlisting"><a class="link" href="libXsettings-client-xsettings-common.html#XSettingsSetting" title="struct XSettingsSetting"><span class="returnvalue">XSettingsSetting</span></a> * xsettings_list_lookup (<em class="parameter"><code><a class="link" href="libXsettings-client-xsettings-common.html#XSettingsList" title="struct XSettingsList"><span class="type">XSettingsList</span></a> *list</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="xsettings-list-delete"></a><h3>xsettings_list_delete ()</h3>
<pre class="programlisting"><a class="link" href="libXsettings-client-xsettings-common.html#XSettingsResult" title="enum XSettingsResult"><span class="returnvalue">XSettingsResult</span></a> xsettings_list_delete (<em class="parameter"><code><a class="link" href="libXsettings-client-xsettings-common.html#XSettingsList" title="struct XSettingsList"><span class="type">XSettingsList</span></a> **list</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="xsettings-byte-order"></a><h3>xsettings_byte_order ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> xsettings_byte_order (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="XSETTINGS-PAD:CAPS"></a><h3>XSETTINGS_PAD()</h3>
<pre class="programlisting">#define XSETTINGS_PAD(n,m) ((n + m - 1) & (~(m-1)))
</pre>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.18</div>
</body>
</html>
|