/usr/share/gtk-doc/html/libcryptui/libcryptui-cryptui-key-store.html is in libcryptui-doc 3.2.2-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 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>CryptUIKeyStore</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="libcryptui Reference Manual">
<link rel="up" href="ch01.html" title="libcryptui Objects and Functions">
<link rel="prev" href="libcryptui-cryptui-key-chooser.html" title="CryptUIKeyChooser">
<link rel="next" href="libcryptui-cryptui.html" title="cryptui">
<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="libcryptui-cryptui-key-chooser.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">libcryptui Reference Manual</th>
<td><a accesskey="n" href="libcryptui-cryptui.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#libcryptui-cryptui-key-store.synopsis" class="shortcut">Top</a>
|
<a href="#libcryptui-cryptui-key-store.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="libcryptui-cryptui-key-store"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libcryptui-cryptui-key-store.top_of_page"></a>CryptUIKeyStore</span></h2>
<p>CryptUIKeyStore</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="libcryptui-cryptui-key-store.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis"> <a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStorePriv" title="CryptUIKeyStorePriv">CryptUIKeyStorePriv</a>;
struct <a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStore" title="struct CryptUIKeyStore">CryptUIKeyStore</a>;
enum <a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStoreMode" title="enum CryptUIKeyStoreMode">CryptUIKeyStoreMode</a>;
<span class="returnvalue">gboolean</span> (<a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStoreFilterFunc" title="CryptUIKeyStoreFilterFunc ()">*CryptUIKeyStoreFilterFunc</a>) (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-keyset.html#CryptUIKeyset" title="struct CryptUIKeyset"><span class="type">CryptUIKeyset</span></a> *ckset</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
<a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStore" title="struct CryptUIKeyStore"><span class="returnvalue">CryptUIKeyStore</span></a> * <a class="link" href="libcryptui-cryptui-key-store.html#cryptui-key-store-new" title="cryptui_key_store_new ()">cryptui_key_store_new</a> (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-keyset.html#CryptUIKeyset" title="struct CryptUIKeyset"><span class="type">CryptUIKeyset</span></a> *keyset</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> use_checks</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *none_option</code></em>);
<a class="link" href="libcryptui-cryptui-keyset.html#CryptUIKeyset" title="struct CryptUIKeyset"><span class="returnvalue">CryptUIKeyset</span></a> * <a class="link" href="libcryptui-cryptui-key-store.html#cryptui-key-store-get-keyset" title="cryptui_key_store_get_keyset ()">cryptui_key_store_get_keyset</a> (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStore" title="struct CryptUIKeyStore"><span class="type">CryptUIKeyStore</span></a> *ckstore</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libcryptui-cryptui-key-store.html#cryptui-key-store-set-sortable" title="cryptui_key_store_set_sortable ()">cryptui_key_store_set_sortable</a> (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStore" title="struct CryptUIKeyStore"><span class="type">CryptUIKeyStore</span></a> *ckstore</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> sortable</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="libcryptui-cryptui-key-store.html#cryptui-key-store-get-sortable" title="cryptui_key_store_get_sortable ()">cryptui_key_store_get_sortable</a> (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStore" title="struct CryptUIKeyStore"><span class="type">CryptUIKeyStore</span></a> *ckstore</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libcryptui-cryptui-key-store.html#cryptui-key-store-check-toggled" title="cryptui_key_store_check_toggled ()">cryptui_key_store_check_toggled</a> (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStore" title="struct CryptUIKeyStore"><span class="type">CryptUIKeyStore</span></a> *ckstore</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkTreeView.html"><span class="type">GtkTreeView</span></a> *view</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="libcryptui-cryptui-key-store.html#cryptui-key-store-get-iter-from-key" title="cryptui_key_store_get_iter_from_key ()">cryptui_key_store_get_iter_from_key</a> (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStore" title="struct CryptUIKeyStore"><span class="type">CryptUIKeyStore</span></a> *ckstore</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter</code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="libcryptui-cryptui-key-store.html#cryptui-key-store-get-key-from-iter" title="cryptui_key_store_get_key_from_iter ()">cryptui_key_store_get_key_from_iter</a> (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStore" title="struct CryptUIKeyStore"><span class="type">CryptUIKeyStore</span></a> *ckstore</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter</code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="libcryptui-cryptui-key-store.html#cryptui-key-store-get-key-from-path" title="cryptui_key_store_get_key_from_path ()">cryptui_key_store_get_key_from_path</a> (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStore" title="struct CryptUIKeyStore"><span class="type">CryptUIKeyStore</span></a> *ckstore</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);
<span class="returnvalue">GList</span> * <a class="link" href="libcryptui-cryptui-key-store.html#cryptui-key-store-get-all-keys" title="cryptui_key_store_get_all_keys ()">cryptui_key_store_get_all_keys</a> (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStore" title="struct CryptUIKeyStore"><span class="type">CryptUIKeyStore</span></a> *ckstore</code></em>);
<span class="returnvalue">guint</span> <a class="link" href="libcryptui-cryptui-key-store.html#cryptui-key-store-get-count" title="cryptui_key_store_get_count ()">cryptui_key_store_get_count</a> (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStore" title="struct CryptUIKeyStore"><span class="type">CryptUIKeyStore</span></a> *ckstore</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="libcryptui-cryptui-key-store.html#cryptui-key-store-have-selected-keys" title="cryptui_key_store_have_selected_keys ()">cryptui_key_store_have_selected_keys</a>
(<em class="parameter"><code><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStore" title="struct CryptUIKeyStore"><span class="type">CryptUIKeyStore</span></a> *ckstore</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkTreeView.html"><span class="type">GtkTreeView</span></a> *view</code></em>);
<span class="returnvalue">GList</span> * <a class="link" href="libcryptui-cryptui-key-store.html#cryptui-key-store-get-selected-keys" title="cryptui_key_store_get_selected_keys ()">cryptui_key_store_get_selected_keys</a> (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStore" title="struct CryptUIKeyStore"><span class="type">CryptUIKeyStore</span></a> *ckstore</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkTreeView.html"><span class="type">GtkTreeView</span></a> *view</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libcryptui-cryptui-key-store.html#cryptui-key-store-set-selected-keys" title="cryptui_key_store_set_selected_keys ()">cryptui_key_store_set_selected_keys</a> (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStore" title="struct CryptUIKeyStore"><span class="type">CryptUIKeyStore</span></a> *ckstore</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkTreeView.html"><span class="type">GtkTreeView</span></a> *view</code></em>,
<em class="parameter"><code><span class="type">GList</span> *keys</code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="libcryptui-cryptui-key-store.html#cryptui-key-store-get-selected-key" title="cryptui_key_store_get_selected_key ()">cryptui_key_store_get_selected_key</a> (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStore" title="struct CryptUIKeyStore"><span class="type">CryptUIKeyStore</span></a> *ckstore</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkTreeView.html"><span class="type">GtkTreeView</span></a> *view</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libcryptui-cryptui-key-store.html#cryptui-key-store-set-selected-key" title="cryptui_key_store_set_selected_key ()">cryptui_key_store_set_selected_key</a> (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStore" title="struct CryptUIKeyStore"><span class="type">CryptUIKeyStore</span></a> *ckstore</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkTreeView.html"><span class="type">GtkTreeView</span></a> *view</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *selkey</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libcryptui-cryptui-key-store.html#cryptui-key-store-set-search-mode" title="cryptui_key_store_set_search_mode ()">cryptui_key_store_set_search_mode</a> (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStore" title="struct CryptUIKeyStore"><span class="type">CryptUIKeyStore</span></a> *ckstore</code></em>,
<em class="parameter"><code><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStoreMode" title="enum CryptUIKeyStoreMode"><span class="type">CryptUIKeyStoreMode</span></a> mode</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libcryptui-cryptui-key-store.html#cryptui-key-store-set-search-text" title="cryptui_key_store_set_search_text ()">cryptui_key_store_set_search_text</a> (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStore" title="struct CryptUIKeyStore"><span class="type">CryptUIKeyStore</span></a> *ckstore</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *search_text</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libcryptui-cryptui-key-store.html#cryptui-key-store-set-filter" title="cryptui_key_store_set_filter ()">cryptui_key_store_set_filter</a> (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStore" title="struct CryptUIKeyStore"><span class="type">CryptUIKeyStore</span></a> *ckstore</code></em>,
<em class="parameter"><code><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStoreFilterFunc" title="CryptUIKeyStoreFilterFunc ()"><span class="type">CryptUIKeyStoreFilterFunc</span></a> func</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="libcryptui-cryptui-key-store.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1">
<a name="libcryptui-cryptui-key-store.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="CryptUIKeyStorePriv"></a><h3>CryptUIKeyStorePriv</h3>
<pre class="programlisting">typedef struct _CryptUIKeyStorePriv CryptUIKeyStorePriv;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="CryptUIKeyStore"></a><h3>struct CryptUIKeyStore</h3>
<pre class="programlisting">struct CryptUIKeyStore {
GtkTreeModelSort parent;
CryptUIKeyset *ckset;
};
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="CryptUIKeyStoreMode"></a><h3>enum CryptUIKeyStoreMode</h3>
<pre class="programlisting">typedef enum {
CRYPTUI_KEY_STORE_MODE_ALL,
CRYPTUI_KEY_STORE_MODE_SELECTED,
CRYPTUI_KEY_STORE_MODE_RESULTS
} CryptUIKeyStoreMode;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="CryptUIKeyStoreFilterFunc"></a><h3>CryptUIKeyStoreFilterFunc ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> (*CryptUIKeyStoreFilterFunc) (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-keyset.html#CryptUIKeyset" title="struct CryptUIKeyset"><span class="type">CryptUIKeyset</span></a> *ckset</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="cryptui-key-store-new"></a><h3>cryptui_key_store_new ()</h3>
<pre class="programlisting"><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStore" title="struct CryptUIKeyStore"><span class="returnvalue">CryptUIKeyStore</span></a> * cryptui_key_store_new (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-keyset.html#CryptUIKeyset" title="struct CryptUIKeyset"><span class="type">CryptUIKeyset</span></a> *keyset</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> use_checks</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *none_option</code></em>);</pre>
<p>
Creates a new libcryptui key store setting the keystore, use-checks and none-option
properties
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>keyset</code></em> :</span></p></td>
<td>a libcryptui keyset</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>use_checks</code></em> :</span></p></td>
<td>a gboolean</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>none_option</code></em> :</span></p></td>
<td>a const gchar string</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the new libcryptui key store</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="cryptui-key-store-get-keyset"></a><h3>cryptui_key_store_get_keyset ()</h3>
<pre class="programlisting"><a class="link" href="libcryptui-cryptui-keyset.html#CryptUIKeyset" title="struct CryptUIKeyset"><span class="returnvalue">CryptUIKeyset</span></a> * cryptui_key_store_get_keyset (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStore" title="struct CryptUIKeyStore"><span class="type">CryptUIKeyStore</span></a> *ckstore</code></em>);</pre>
<p>
Gets ckstore's internal keyset
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
<td>a libcryptui key store</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the internal libcryptui keyset</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="cryptui-key-store-set-sortable"></a><h3>cryptui_key_store_set_sortable ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> cryptui_key_store_set_sortable (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStore" title="struct CryptUIKeyStore"><span class="type">CryptUIKeyStore</span></a> *ckstore</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> sortable</code></em>);</pre>
<p>
Sets whether ckstore is sortable or not
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
<td>a libcryptui key store</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>sortable</code></em> :</span></p></td>
<td>a gboolean</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="cryptui-key-store-get-sortable"></a><h3>cryptui_key_store_get_sortable ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> cryptui_key_store_get_sortable (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStore" title="struct CryptUIKeyStore"><span class="type">CryptUIKeyStore</span></a> *ckstore</code></em>);</pre>
<p>
Gets whether ckstore is sortable or not
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
<td>a libcryptui key store</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE if ckstore is sortable, FALSE otherwise</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="cryptui-key-store-check-toggled"></a><h3>cryptui_key_store_check_toggled ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> cryptui_key_store_check_toggled (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStore" title="struct CryptUIKeyStore"><span class="type">CryptUIKeyStore</span></a> *ckstore</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkTreeView.html"><span class="type">GtkTreeView</span></a> *view</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter</code></em>);</pre>
<p>
Gets whether the check at iter is toggled
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
<td>a libcryptui key store</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
<td>a GtkTreeView</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>a GtkTreeIter</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="cryptui-key-store-get-iter-from-key"></a><h3>cryptui_key_store_get_iter_from_key ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> cryptui_key_store_get_iter_from_key (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStore" title="struct CryptUIKeyStore"><span class="type">CryptUIKeyStore</span></a> *ckstore</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter</code></em>);</pre>
<p>
Get the iter that the key is stored at in ckstore
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
<td>a libcryptui key store</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
<td>a libcryptui key</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>a GtkTreeIter</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE if the key is present in the ckstore and the value of iter
has been modified to point to it, FALSE otherwise</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="cryptui-key-store-get-key-from-iter"></a><h3>cryptui_key_store_get_key_from_iter ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * cryptui_key_store_get_key_from_iter (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStore" title="struct CryptUIKeyStore"><span class="type">CryptUIKeyStore</span></a> *ckstore</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter</code></em>);</pre>
<p>
Gets the key stored at iter in ckstore
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
<td>a libcryptui key store</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>a GtkTreeIter</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a libcryptui key</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="cryptui-key-store-get-key-from-path"></a><h3>cryptui_key_store_get_key_from_path ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * cryptui_key_store_get_key_from_path (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStore" title="struct CryptUIKeyStore"><span class="type">CryptUIKeyStore</span></a> *ckstore</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> *path</code></em>);</pre>
<p>
Get the key at path in ckstore
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
<td>a libcryptui key store</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
<td>a GtkTreePath</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a libcryptui key</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="cryptui-key-store-get-all-keys"></a><h3>cryptui_key_store_get_all_keys ()</h3>
<pre class="programlisting"><span class="returnvalue">GList</span> * cryptui_key_store_get_all_keys (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStore" title="struct CryptUIKeyStore"><span class="type">CryptUIKeyStore</span></a> *ckstore</code></em>);</pre>
<p>
Get a list of all keys in ckstore
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
<td>a libcryptui key store</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a list of libcryptui keys</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="cryptui-key-store-get-count"></a><h3>cryptui_key_store_get_count ()</h3>
<pre class="programlisting"><span class="returnvalue">guint</span> cryptui_key_store_get_count (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStore" title="struct CryptUIKeyStore"><span class="type">CryptUIKeyStore</span></a> *ckstore</code></em>);</pre>
<p>
Get the number of keys stored in ckstore
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
<td>a libcryptui key store</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the number of keys</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="cryptui-key-store-have-selected-keys"></a><h3>cryptui_key_store_have_selected_keys ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> cryptui_key_store_have_selected_keys
(<em class="parameter"><code><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStore" title="struct CryptUIKeyStore"><span class="type">CryptUIKeyStore</span></a> *ckstore</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkTreeView.html"><span class="type">GtkTreeView</span></a> *view</code></em>);</pre>
<p>
Determines whether keys are selected or not.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
<td>a libcryptui key store</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
<td>a GtkTreeView</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE if keys have been selected, FALSE otherwise</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="cryptui-key-store-get-selected-keys"></a><h3>cryptui_key_store_get_selected_keys ()</h3>
<pre class="programlisting"><span class="returnvalue">GList</span> * cryptui_key_store_get_selected_keys (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStore" title="struct CryptUIKeyStore"><span class="type">CryptUIKeyStore</span></a> *ckstore</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkTreeView.html"><span class="type">GtkTreeView</span></a> *view</code></em>);</pre>
<p>
Get the currently selected keys
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
<td>a libcryptui key store</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
<td>a GtkTreeView</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a list of libcryptui keys</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="cryptui-key-store-set-selected-keys"></a><h3>cryptui_key_store_set_selected_keys ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> cryptui_key_store_set_selected_keys (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStore" title="struct CryptUIKeyStore"><span class="type">CryptUIKeyStore</span></a> *ckstore</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkTreeView.html"><span class="type">GtkTreeView</span></a> *view</code></em>,
<em class="parameter"><code><span class="type">GList</span> *keys</code></em>);</pre>
<p>
Set the current selection to be the list of keys
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
<td>a libcryptui key store</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
<td>a GtkTreeView</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>keys</code></em> :</span></p></td>
<td>a list of libcryptui keys</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="cryptui-key-store-get-selected-key"></a><h3>cryptui_key_store_get_selected_key ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * cryptui_key_store_get_selected_key (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStore" title="struct CryptUIKeyStore"><span class="type">CryptUIKeyStore</span></a> *ckstore</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkTreeView.html"><span class="type">GtkTreeView</span></a> *view</code></em>);</pre>
<p>
Get the currently selected key
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
<td>a libcryptui key store</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
<td>a GtkTreeView</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a libcryptui key</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="cryptui-key-store-set-selected-key"></a><h3>cryptui_key_store_set_selected_key ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> cryptui_key_store_set_selected_key (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStore" title="struct CryptUIKeyStore"><span class="type">CryptUIKeyStore</span></a> *ckstore</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkTreeView.html"><span class="type">GtkTreeView</span></a> *view</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *selkey</code></em>);</pre>
<p>
Marks the given key as selected
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
<td>a libcryptui key store</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
<td>a GtkTreeView</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>selkey</code></em> :</span></p></td>
<td>a libcryptui key</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="cryptui-key-store-set-search-mode"></a><h3>cryptui_key_store_set_search_mode ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> cryptui_key_store_set_search_mode (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStore" title="struct CryptUIKeyStore"><span class="type">CryptUIKeyStore</span></a> *ckstore</code></em>,
<em class="parameter"><code><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStoreMode" title="enum CryptUIKeyStoreMode"><span class="type">CryptUIKeyStoreMode</span></a> mode</code></em>);</pre>
<p>
Sets whether the keys returned will be all, just those searched for, or
those selected.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
<td>a libcryptui key store</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>mode</code></em> :</span></p></td>
<td>search mode</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="cryptui-key-store-set-search-text"></a><h3>cryptui_key_store_set_search_text ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> cryptui_key_store_set_search_text (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStore" title="struct CryptUIKeyStore"><span class="type">CryptUIKeyStore</span></a> *ckstore</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *search_text</code></em>);</pre>
<p>
Filters the keys in the store by the text in search_text.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
<td>a libcryptui key store</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>search_text</code></em> :</span></p></td>
<td>a string</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="cryptui-key-store-set-filter"></a><h3>cryptui_key_store_set_filter ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> cryptui_key_store_set_filter (<em class="parameter"><code><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStore" title="struct CryptUIKeyStore"><span class="type">CryptUIKeyStore</span></a> *ckstore</code></em>,
<em class="parameter"><code><a class="link" href="libcryptui-cryptui-key-store.html#CryptUIKeyStoreFilterFunc" title="CryptUIKeyStoreFilterFunc ()"><span class="type">CryptUIKeyStoreFilterFunc</span></a> func</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
<p>
Filters the key store's keys with the given filter function.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ckstore</code></em> :</span></p></td>
<td>a libcryptui key store</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
<td>a filter function</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>a generic pointer</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.18</div>
</body>
</html>
|