/usr/share/gtk-doc/html/camel/camel-camel-string-utils.html is in libcamel1.2-dev 3.2.3-0ubuntu6.
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 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>camel-string-utils</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="Camel Reference Manual">
<link rel="up" href="Utilities.html" title="Utilities">
<link rel="prev" href="camel-camel-search-sql-sexp.html" title="camel-search-sql-sexp">
<link rel="next" href="camel-camel-trie.html" title="camel-trie">
<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="camel-camel-search-sql-sexp.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="Utilities.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">Camel Reference Manual</th>
<td><a accesskey="n" href="camel-camel-trie.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#camel-camel-string-utils.synopsis" class="shortcut">Top</a>
|
<a href="#camel-camel-string-utils.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="camel-camel-string-utils"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="camel-camel-string-utils.top_of_page"></a>camel-string-utils</span></h2>
<p>camel-string-utils</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="camel-camel-string-utils.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis"><span class="returnvalue">gint</span> <a class="link" href="camel-camel-string-utils.html#camel-strcase-equal" title="camel_strcase_equal ()">camel_strcase_equal</a> (<em class="parameter"><code><span class="type">gconstpointer</span> a</code></em>,
<em class="parameter"><code><span class="type">gconstpointer</span> b</code></em>);
<span class="returnvalue">guint</span> <a class="link" href="camel-camel-string-utils.html#camel-strcase-hash" title="camel_strcase_hash ()">camel_strcase_hash</a> (<em class="parameter"><code><span class="type">gconstpointer</span> v</code></em>);
<span class="returnvalue">void</span> <a class="link" href="camel-camel-string-utils.html#camel-string-list-free" title="camel_string_list_free ()">camel_string_list_free</a> (<em class="parameter"><code><span class="type">GList</span> *string_list</code></em>);
<span class="returnvalue">gchar</span> * <a class="link" href="camel-camel-string-utils.html#camel-strstrcase" title="camel_strstrcase ()">camel_strstrcase</a> (<em class="parameter"><code>const <span class="type">gchar</span> *haystack</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *needle</code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="camel-camel-string-utils.html#camel-strdown" title="camel_strdown ()">camel_strdown</a> (<em class="parameter"><code><span class="type">gchar</span> *str</code></em>);
<span class="returnvalue">gchar</span> <a class="link" href="camel-camel-string-utils.html#camel-tolower" title="camel_tolower ()">camel_tolower</a> (<em class="parameter"><code><span class="type">gchar</span> c</code></em>);
<span class="returnvalue">gchar</span> <a class="link" href="camel-camel-string-utils.html#camel-toupper" title="camel_toupper ()">camel_toupper</a> (<em class="parameter"><code><span class="type">gchar</span> c</code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="camel-camel-string-utils.html#camel-pstring-add" title="camel_pstring_add ()">camel_pstring_add</a> (<em class="parameter"><code><span class="type">gchar</span> *str</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> own</code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="camel-camel-string-utils.html#camel-pstring-strdup" title="camel_pstring_strdup ()">camel_pstring_strdup</a> (<em class="parameter"><code>const <span class="type">gchar</span> *s</code></em>);
<span class="returnvalue">void</span> <a class="link" href="camel-camel-string-utils.html#camel-pstring-free" title="camel_pstring_free ()">camel_pstring_free</a> (<em class="parameter"><code>const <span class="type">gchar</span> *s</code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="camel-camel-string-utils.html#camel-pstring-peek" title="camel_pstring_peek ()">camel_pstring_peek</a> (<em class="parameter"><code>const <span class="type">gchar</span> *str</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="camel-camel-string-utils.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1">
<a name="camel-camel-string-utils.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="camel-strcase-equal"></a><h3>camel_strcase_equal ()</h3>
<pre class="programlisting"><span class="returnvalue">gint</span> camel_strcase_equal (<em class="parameter"><code><span class="type">gconstpointer</span> a</code></em>,
<em class="parameter"><code><span class="type">gconstpointer</span> b</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="camel-strcase-hash"></a><h3>camel_strcase_hash ()</h3>
<pre class="programlisting"><span class="returnvalue">guint</span> camel_strcase_hash (<em class="parameter"><code><span class="type">gconstpointer</span> v</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="camel-string-list-free"></a><h3>camel_string_list_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> camel_string_list_free (<em class="parameter"><code><span class="type">GList</span> *string_list</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="camel-strstrcase"></a><h3>camel_strstrcase ()</h3>
<pre class="programlisting"><span class="returnvalue">gchar</span> * camel_strstrcase (<em class="parameter"><code>const <span class="type">gchar</span> *haystack</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *needle</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="camel-strdown"></a><h3>camel_strdown ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * camel_strdown (<em class="parameter"><code><span class="type">gchar</span> *str</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="camel-tolower"></a><h3>camel_tolower ()</h3>
<pre class="programlisting"><span class="returnvalue">gchar</span> camel_tolower (<em class="parameter"><code><span class="type">gchar</span> c</code></em>);</pre>
<p>
ASCII to-lower function.
</p>
</div>
<hr>
<div class="refsect2">
<a name="camel-toupper"></a><h3>camel_toupper ()</h3>
<pre class="programlisting"><span class="returnvalue">gchar</span> camel_toupper (<em class="parameter"><code><span class="type">gchar</span> c</code></em>);</pre>
<p>
ASCII to-upper function.
</p>
</div>
<hr>
<div class="refsect2">
<a name="camel-pstring-add"></a><h3>camel_pstring_add ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * camel_pstring_add (<em class="parameter"><code><span class="type">gchar</span> *str</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> own</code></em>);</pre>
<p>
Add the string to the pool.
</p>
<p>
The NULL and empty strings are special cased to constant values.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
<td>string to add to the string pool</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>own</code></em> :</span></p></td>
<td>whether the string pool will own the memory pointed to by <em class="parameter"><code>str</code></em>, if <em class="parameter"><code>str</code></em> is not yet in the pool</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A pointer to an equivalent string of <em class="parameter"><code>s</code></em>. Use
<a class="link" href="camel-camel-string-utils.html#camel-pstring-free" title="camel_pstring_free ()"><code class="function">camel_pstring_free()</code></a> when it is no longer needed.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="camel-pstring-strdup"></a><h3>camel_pstring_strdup ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * camel_pstring_strdup (<em class="parameter"><code>const <span class="type">gchar</span> *s</code></em>);</pre>
<p>
Create a new pooled string entry for the string <em class="parameter"><code>s</code></em>. A pooled
string is a table where common strings are uniquified to the same
pointer value. They are also refcounted, so freed when no longer
in use. In a thread-safe manner.
</p>
<p>
The NULL and empty strings are special cased to constant values.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>s</code></em> :</span></p></td>
<td>String to copy.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A pointer to an equivalent string of <em class="parameter"><code>s</code></em>. Use
<a class="link" href="camel-camel-string-utils.html#camel-pstring-free" title="camel_pstring_free ()"><code class="function">camel_pstring_free()</code></a> when it is no longer needed.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="camel-pstring-free"></a><h3>camel_pstring_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> camel_pstring_free (<em class="parameter"><code>const <span class="type">gchar</span> *s</code></em>);</pre>
<p>
De-ref a pooled string. If no more refs exist to this string, it will be deallocated.
</p>
<p>
NULL and the empty string are special cased.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>s</code></em> :</span></p></td>
<td>String to free.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="camel-pstring-peek"></a><h3>camel_pstring_peek ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * camel_pstring_peek (<em class="parameter"><code>const <span class="type">gchar</span> *str</code></em>);</pre>
<p>
Add return the string from the pool.
</p>
<p>
The NULL and empty strings are special cased to constant values.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
<td>string to fetch to the string pool</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A pointer to an equivalent string of <em class="parameter"><code>s</code></em>. Use
<a class="link" href="camel-camel-string-utils.html#camel-pstring-free" title="camel_pstring_free ()"><code class="function">camel_pstring_free()</code></a> when it is no longer needed.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.24</p>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.18</div>
</body>
</html>
|