/usr/share/gtk-doc/html/libdazzle/libdazzle-DzlFuzzyMutableIndex-Matching.html is in libdazzle-doc 3.28.1-1.
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 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>DzlFuzzyMutableIndex Matching: Dazzle Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="Dazzle Reference Manual">
<link rel="up" href="ch01.html" title="In-Memory Fuzzy Indexes">
<link rel="prev" href="ch01.html" title="In-Memory Fuzzy Indexes">
<link rel="next" href="ch02.html" title="Disk-based Fuzzy Indexes">
<meta name="generator" content="GTK-Doc V1.27 (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="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
<a href="#libdazzle-DzlFuzzyMutableIndex-Matching.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
<a href="#libdazzle-DzlFuzzyMutableIndex-Matching.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="ch01.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="ch02.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="libdazzle-DzlFuzzyMutableIndex-Matching"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libdazzle-DzlFuzzyMutableIndex-Matching.top_of_page"></a>DzlFuzzyMutableIndex Matching</span></h2>
<p>DzlFuzzyMutableIndex Matching — DzlFuzzyMutableIndex matching for GLib based programs.</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="libdazzle-DzlFuzzyMutableIndex-Matching.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a class="link" href="libdazzle-DzlFuzzyMutableIndex-Matching.html#DzlFuzzyMutableIndex"><span class="returnvalue">DzlFuzzyMutableIndex</span></a> *
</td>
<td class="function_name">
<a class="link" href="libdazzle-DzlFuzzyMutableIndex-Matching.html#dzl-fuzzy-mutable-index-new" title="dzl_fuzzy_mutable_index_new ()">dzl_fuzzy_mutable_index_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libdazzle-DzlFuzzyMutableIndex-Matching.html#DzlFuzzyMutableIndex"><span class="returnvalue">DzlFuzzyMutableIndex</span></a> *
</td>
<td class="function_name">
<a class="link" href="libdazzle-DzlFuzzyMutableIndex-Matching.html#dzl-fuzzy-mutable-index-new-with-free-func" title="dzl_fuzzy_mutable_index_new_with_free_func ()">dzl_fuzzy_mutable_index_new_with_free_func</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libdazzle-DzlFuzzyMutableIndex-Matching.html#dzl-fuzzy-mutable-index-set-free-func" title="dzl_fuzzy_mutable_index_set_free_func ()">dzl_fuzzy_mutable_index_set_free_func</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libdazzle-DzlFuzzyMutableIndex-Matching.html#dzl-fuzzy-mutable-index-begin-bulk-insert" title="dzl_fuzzy_mutable_index_begin_bulk_insert ()">dzl_fuzzy_mutable_index_begin_bulk_insert</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libdazzle-DzlFuzzyMutableIndex-Matching.html#dzl-fuzzy-mutable-index-end-bulk-insert" title="dzl_fuzzy_mutable_index_end_bulk_insert ()">dzl_fuzzy_mutable_index_end_bulk_insert</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="libdazzle-DzlFuzzyMutableIndex-Matching.html#dzl-fuzzy-mutable-index-contains" title="dzl_fuzzy_mutable_index_contains ()">dzl_fuzzy_mutable_index_contains</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libdazzle-DzlFuzzyMutableIndex-Matching.html#dzl-fuzzy-mutable-index-insert" title="dzl_fuzzy_mutable_index_insert ()">dzl_fuzzy_mutable_index_insert</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">GArray</span> *
</td>
<td class="function_name">
<a class="link" href="libdazzle-DzlFuzzyMutableIndex-Matching.html#dzl-fuzzy-mutable-index-match" title="dzl_fuzzy_mutable_index_match ()">dzl_fuzzy_mutable_index_match</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libdazzle-DzlFuzzyMutableIndex-Matching.html#dzl-fuzzy-mutable-index-remove" title="dzl_fuzzy_mutable_index_remove ()">dzl_fuzzy_mutable_index_remove</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libdazzle-DzlFuzzyMutableIndex-Matching.html#DzlFuzzyMutableIndex"><span class="returnvalue">DzlFuzzyMutableIndex</span></a> *
</td>
<td class="function_name">
<a class="link" href="libdazzle-DzlFuzzyMutableIndex-Matching.html#dzl-fuzzy-mutable-index-ref" title="dzl_fuzzy_mutable_index_ref ()">dzl_fuzzy_mutable_index_ref</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libdazzle-DzlFuzzyMutableIndex-Matching.html#dzl-fuzzy-mutable-index-unref" title="dzl_fuzzy_mutable_index_unref ()">dzl_fuzzy_mutable_index_unref</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="libdazzle-DzlFuzzyMutableIndex-Matching.html#dzl-fuzzy-highlight" title="dzl_fuzzy_highlight ()">dzl_fuzzy_highlight</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<a name="DzlFuzzyMutableIndex"></a><div class="refsect1">
<a name="libdazzle-DzlFuzzyMutableIndex-Matching.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen"> GBoxed
<span class="lineart">╰──</span> DzlFuzzyMutableIndex
</pre>
</div>
<div class="refsect1">
<a name="libdazzle-DzlFuzzyMutableIndex-Matching.description"></a><h2>Description</h2>
<p><a class="link" href="libdazzle-DzlFuzzyMutableIndex-Matching.html#DzlFuzzyMutableIndex"><span class="type">DzlFuzzyMutableIndex</span></a> provides a fulltext index that focuses around fuzzy
matching words. This version of the datastructure is focused around
in-memory storage. This makes mutability performance of adding or removing
items from the corpus simpler.</p>
<p>If you need mostly read-only indexes, you might consider using
<a class="link" href="libdazzle-dzl-fuzzy-index.html#DzlFuzzyIndex"><span class="type">DzlFuzzyIndex</span></a> and <a class="link" href="libdazzle-dzl-fuzzy-index-builder.html#DzlFuzzyIndexBuilder"><span class="type">DzlFuzzyIndexBuilder</span></a> which can create a disk-based file
and <code class="function">mmap()</code> a read-only version of the data set.</p>
<p>It is a programming error to modify <span class="type">Fuzzy</span> while holding onto an array
of <span class="type">FuzzyMatch</span> elements. The position of strings within the DzlFuzzyMutableIndexMatch
may no longer be valid.</p>
</div>
<div class="refsect1">
<a name="libdazzle-DzlFuzzyMutableIndex-Matching.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="dzl-fuzzy-mutable-index-new"></a><h3>dzl_fuzzy_mutable_index_new ()</h3>
<pre class="programlisting"><a class="link" href="libdazzle-DzlFuzzyMutableIndex-Matching.html#DzlFuzzyMutableIndex"><span class="returnvalue">DzlFuzzyMutableIndex</span></a> *
dzl_fuzzy_mutable_index_new (<em class="parameter"><code><span class="type">gboolean</span> case_sensitive</code></em>);</pre>
<p>Create a new <span class="type">Fuzzy</span> for fuzzy matching strings.</p>
<div class="refsect3">
<a name="dzl-fuzzy-mutable-index-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>case_sensitive</p></td>
<td class="parameter_description"><p><code class="literal">TRUE</code> if case should be preserved.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="dzl-fuzzy-mutable-index-new.returns"></a><h4>Returns</h4>
<p> A newly allocated <span class="type">Fuzzy</span> that should be freed with <a class="link" href="libdazzle-DzlFuzzyMutableIndex-Matching.html#dzl-fuzzy-mutable-index-unref" title="dzl_fuzzy_mutable_index_unref ()"><code class="function">dzl_fuzzy_mutable_index_unref()</code></a>.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="dzl-fuzzy-mutable-index-new-with-free-func"></a><h3>dzl_fuzzy_mutable_index_new_with_free_func ()</h3>
<pre class="programlisting"><a class="link" href="libdazzle-DzlFuzzyMutableIndex-Matching.html#DzlFuzzyMutableIndex"><span class="returnvalue">DzlFuzzyMutableIndex</span></a> *
dzl_fuzzy_mutable_index_new_with_free_func
(<em class="parameter"><code><span class="type">gboolean</span> case_sensitive</code></em>,
<em class="parameter"><code><span class="type">GDestroyNotify</span> free_func</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="dzl-fuzzy-mutable-index-set-free-func"></a><h3>dzl_fuzzy_mutable_index_set_free_func ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
dzl_fuzzy_mutable_index_set_free_func (<em class="parameter"><code><a class="link" href="libdazzle-DzlFuzzyMutableIndex-Matching.html#DzlFuzzyMutableIndex"><span class="type">DzlFuzzyMutableIndex</span></a> *fuzzy</code></em>,
<em class="parameter"><code><span class="type">GDestroyNotify</span> free_func</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="dzl-fuzzy-mutable-index-begin-bulk-insert"></a><h3>dzl_fuzzy_mutable_index_begin_bulk_insert ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
dzl_fuzzy_mutable_index_begin_bulk_insert
(<em class="parameter"><code><a class="link" href="libdazzle-DzlFuzzyMutableIndex-Matching.html#DzlFuzzyMutableIndex"><span class="type">DzlFuzzyMutableIndex</span></a> *fuzzy</code></em>);</pre>
<p>Start a bulk insertion. <em class="parameter"><code>fuzzy</code></em>
is not ready for searching until
<a class="link" href="libdazzle-DzlFuzzyMutableIndex-Matching.html#dzl-fuzzy-mutable-index-end-bulk-insert" title="dzl_fuzzy_mutable_index_end_bulk_insert ()"><code class="function">dzl_fuzzy_mutable_index_end_bulk_insert()</code></a> has been called.</p>
<p>This allows for inserting large numbers of strings and deferring
the final sort until <a class="link" href="libdazzle-DzlFuzzyMutableIndex-Matching.html#dzl-fuzzy-mutable-index-end-bulk-insert" title="dzl_fuzzy_mutable_index_end_bulk_insert ()"><code class="function">dzl_fuzzy_mutable_index_end_bulk_insert()</code></a>.</p>
<div class="refsect3">
<a name="dzl-fuzzy-mutable-index-begin-bulk-insert.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>fuzzy</p></td>
<td class="parameter_description"><p>A <span class="type">Fuzzy</span>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>]</span></td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="dzl-fuzzy-mutable-index-end-bulk-insert"></a><h3>dzl_fuzzy_mutable_index_end_bulk_insert ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
dzl_fuzzy_mutable_index_end_bulk_insert
(<em class="parameter"><code><a class="link" href="libdazzle-DzlFuzzyMutableIndex-Matching.html#DzlFuzzyMutableIndex"><span class="type">DzlFuzzyMutableIndex</span></a> *fuzzy</code></em>);</pre>
<p>Complete a bulk insert and resort the index.</p>
<div class="refsect3">
<a name="dzl-fuzzy-mutable-index-end-bulk-insert.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>fuzzy</p></td>
<td class="parameter_description"><p>A <span class="type">Fuzzy</span>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>]</span></td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="dzl-fuzzy-mutable-index-contains"></a><h3>dzl_fuzzy_mutable_index_contains ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
dzl_fuzzy_mutable_index_contains (<em class="parameter"><code><a class="link" href="libdazzle-DzlFuzzyMutableIndex-Matching.html#DzlFuzzyMutableIndex"><span class="type">DzlFuzzyMutableIndex</span></a> *fuzzy</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="dzl-fuzzy-mutable-index-insert"></a><h3>dzl_fuzzy_mutable_index_insert ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
dzl_fuzzy_mutable_index_insert (<em class="parameter"><code><a class="link" href="libdazzle-DzlFuzzyMutableIndex-Matching.html#DzlFuzzyMutableIndex"><span class="type">DzlFuzzyMutableIndex</span></a> *fuzzy</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> value</code></em>);</pre>
<p>Inserts a string into the fuzzy matcher.</p>
<div class="refsect3">
<a name="dzl-fuzzy-mutable-index-insert.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>fuzzy</p></td>
<td class="parameter_description"><p>A <span class="type">Fuzzy</span>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>key</p></td>
<td class="parameter_description"><p>A UTF-8 encoded string. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>A value to associate with key. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="dzl-fuzzy-mutable-index-match"></a><h3>dzl_fuzzy_mutable_index_match ()</h3>
<pre class="programlisting"><span class="returnvalue">GArray</span> *
dzl_fuzzy_mutable_index_match (<em class="parameter"><code><a class="link" href="libdazzle-DzlFuzzyMutableIndex-Matching.html#DzlFuzzyMutableIndex"><span class="type">DzlFuzzyMutableIndex</span></a> *fuzzy</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *needle</code></em>,
<em class="parameter"><code><span class="type">gsize</span> max_matches</code></em>);</pre>
<p>DzlFuzzyMutableIndex searches within <em class="parameter"><code>fuzzy</code></em>
for strings that fuzzy match <em class="parameter"><code>needle</code></em>
.
Only up to <em class="parameter"><code>max_matches</code></em>
will be returned.</p>
<p>TODO: max_matches is not yet respected.</p>
<div class="refsect3">
<a name="dzl-fuzzy-mutable-index-match.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>fuzzy</p></td>
<td class="parameter_description"><p>A <span class="type">Fuzzy</span>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>needle</p></td>
<td class="parameter_description"><p>The needle to fuzzy search for. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>max_matches</p></td>
<td class="parameter_description"><p>The max number of matches to return. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="dzl-fuzzy-mutable-index-match.returns"></a><h4>Returns</h4>
<p>A newly allocated
<span class="type">GArray</span> containing <span class="type">FuzzyMatch</span> elements. This should be freed when
the caller is done with it using <code class="function">g_array_unref()</code>.
It is a programming error to keep the structure around longer than
the <em class="parameter"><code>fuzzy</code></em>
instance. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> DzlFuzzyMutableIndexMatch]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="dzl-fuzzy-mutable-index-remove"></a><h3>dzl_fuzzy_mutable_index_remove ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
dzl_fuzzy_mutable_index_remove (<em class="parameter"><code><a class="link" href="libdazzle-DzlFuzzyMutableIndex-Matching.html#DzlFuzzyMutableIndex"><span class="type">DzlFuzzyMutableIndex</span></a> *fuzzy</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="dzl-fuzzy-mutable-index-ref"></a><h3>dzl_fuzzy_mutable_index_ref ()</h3>
<pre class="programlisting"><a class="link" href="libdazzle-DzlFuzzyMutableIndex-Matching.html#DzlFuzzyMutableIndex"><span class="returnvalue">DzlFuzzyMutableIndex</span></a> *
dzl_fuzzy_mutable_index_ref (<em class="parameter"><code><a class="link" href="libdazzle-DzlFuzzyMutableIndex-Matching.html#DzlFuzzyMutableIndex"><span class="type">DzlFuzzyMutableIndex</span></a> *fuzzy</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="dzl-fuzzy-mutable-index-unref"></a><h3>dzl_fuzzy_mutable_index_unref ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
dzl_fuzzy_mutable_index_unref (<em class="parameter"><code><a class="link" href="libdazzle-DzlFuzzyMutableIndex-Matching.html#DzlFuzzyMutableIndex"><span class="type">DzlFuzzyMutableIndex</span></a> *fuzzy</code></em>);</pre>
<p>Decrements the reference count of fuzzy by one. When the reference count
reaches zero, the structure will be freed.</p>
<div class="refsect3">
<a name="dzl-fuzzy-mutable-index-unref.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>fuzzy</p></td>
<td class="parameter_description"><p>A <span class="type">Fuzzy</span>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="dzl-fuzzy-highlight"></a><h3>dzl_fuzzy_highlight ()</h3>
<pre class="programlisting"><span class="returnvalue">gchar</span> *
dzl_fuzzy_highlight (<em class="parameter"><code>const <span class="type">gchar</span> *str</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *query</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> case_sensitive</code></em>);</pre>
</div>
</div>
<div class="refsect1">
<a name="libdazzle-DzlFuzzyMutableIndex-Matching.other_details"></a><h2>Types and Values</h2>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.27</div>
</body>
</html>
|