/usr/share/gtk-doc/html/gnome-keyring/gnome-keyring-Item-ACLs.html is in libgnome-keyring-dev 3.8.0-2.
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 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Item ACLs</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="gnome-keyring Reference Manual">
<link rel="up" href="ch01.html" title="gnome-keyring API Reference">
<link rel="prev" href="gnome-keyring-Item-Attributes.html" title="Item Attributes">
<link rel="next" href="gnome-keyring-Search-Functionality.html" title="Search Functionality">
<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="gnome-keyring-Item-Attributes.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">gnome-keyring Reference Manual</th>
<td><a accesskey="n" href="gnome-keyring-Search-Functionality.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#gnome-keyring-Item-ACLs.synopsis" class="shortcut">Top</a>
|
<a href="#gnome-keyring-Item-ACLs.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="gnome-keyring-Item-ACLs"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="gnome-keyring-Item-ACLs.top_of_page"></a>Item ACLs</span></h2>
<p>Item ACLs — Access control lists for keyring items.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="gnome-keyring-Item-ACLs.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">typedef <a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessControl" title="GnomeKeyringAccessControl">GnomeKeyringAccessControl</a>;
typedef <a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringApplicationRef" title="GnomeKeyringApplicationRef">GnomeKeyringApplicationRef</a>;
enum <a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessType" title="enum GnomeKeyringAccessType">GnomeKeyringAccessType</a>;
enum <a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessRestriction" title="enum GnomeKeyringAccessRestriction">GnomeKeyringAccessRestriction</a>;
<a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringApplicationRef" title="GnomeKeyringApplicationRef"><span class="returnvalue">GnomeKeyringApplicationRef</span></a> * <a class="link" href="gnome-keyring-Item-ACLs.html#gnome-keyring-application-ref-new" title="gnome_keyring_application_ref_new ()">gnome_keyring_application_ref_new</a>
(<em class="parameter"><code><span class="type">void</span></code></em>);
<a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringApplicationRef" title="GnomeKeyringApplicationRef"><span class="returnvalue">GnomeKeyringApplicationRef</span></a> * <a class="link" href="gnome-keyring-Item-ACLs.html#gnome-keyring-application-ref-copy" title="gnome_keyring_application_ref_copy ()">gnome_keyring_application_ref_copy</a>
(<em class="parameter"><code>const <a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringApplicationRef" title="GnomeKeyringApplicationRef"><span class="type">GnomeKeyringApplicationRef</span></a> *app</code></em>);
<span class="returnvalue">void</span> <a class="link" href="gnome-keyring-Item-ACLs.html#gnome-keyring-application-ref-free" title="gnome_keyring_application_ref_free ()">gnome_keyring_application_ref_free</a> (<em class="parameter"><code><a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringApplicationRef" title="GnomeKeyringApplicationRef"><span class="type">GnomeKeyringApplicationRef</span></a> *app</code></em>);
<a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessControl" title="GnomeKeyringAccessControl"><span class="returnvalue">GnomeKeyringAccessControl</span></a> * <a class="link" href="gnome-keyring-Item-ACLs.html#gnome-keyring-access-control-new" title="gnome_keyring_access_control_new ()">gnome_keyring_access_control_new</a>
(<em class="parameter"><code>const <a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringApplicationRef" title="GnomeKeyringApplicationRef"><span class="type">GnomeKeyringApplicationRef</span></a> *application</code></em>,
<em class="parameter"><code><a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessType" title="enum GnomeKeyringAccessType"><span class="type">GnomeKeyringAccessType</span></a> types_allowed</code></em>);
<a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessControl" title="GnomeKeyringAccessControl"><span class="returnvalue">GnomeKeyringAccessControl</span></a> * <a class="link" href="gnome-keyring-Item-ACLs.html#gnome-keyring-access-control-copy" title="gnome_keyring_access_control_copy ()">gnome_keyring_access_control_copy</a>
(<em class="parameter"><code><a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessControl" title="GnomeKeyringAccessControl"><span class="type">GnomeKeyringAccessControl</span></a> *ac</code></em>);
<span class="returnvalue">void</span> <a class="link" href="gnome-keyring-Item-ACLs.html#gnome-keyring-access-control-free" title="gnome_keyring_access_control_free ()">gnome_keyring_access_control_free</a> (<em class="parameter"><code><a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessControl" title="GnomeKeyringAccessControl"><span class="type">GnomeKeyringAccessControl</span></a> *ac</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="gnome-keyring-Item-ACLs.html#gnome-keyring-acl-copy" title="gnome_keyring_acl_copy ()">gnome_keyring_acl_copy</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *list</code></em>);
<span class="returnvalue">void</span> <a class="link" href="gnome-keyring-Item-ACLs.html#gnome-keyring-acl-free" title="gnome_keyring_acl_free ()">gnome_keyring_acl_free</a> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *acl</code></em>);
<span class="returnvalue">char</span> * <a class="link" href="gnome-keyring-Item-ACLs.html#gnome-keyring-item-ac-get-display-name" title="gnome_keyring_item_ac_get_display_name ()">gnome_keyring_item_ac_get_display_name</a>
(<em class="parameter"><code><a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessControl" title="GnomeKeyringAccessControl"><span class="type">GnomeKeyringAccessControl</span></a> *ac</code></em>);
<span class="returnvalue">void</span> <a class="link" href="gnome-keyring-Item-ACLs.html#gnome-keyring-item-ac-set-display-name" title="gnome_keyring_item_ac_set_display_name ()">gnome_keyring_item_ac_set_display_name</a>
(<em class="parameter"><code><a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessControl" title="GnomeKeyringAccessControl"><span class="type">GnomeKeyringAccessControl</span></a> *ac</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *value</code></em>);
<span class="returnvalue">char</span> * <a class="link" href="gnome-keyring-Item-ACLs.html#gnome-keyring-item-ac-get-path-name" title="gnome_keyring_item_ac_get_path_name ()">gnome_keyring_item_ac_get_path_name</a> (<em class="parameter"><code><a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessControl" title="GnomeKeyringAccessControl"><span class="type">GnomeKeyringAccessControl</span></a> *ac</code></em>);
<span class="returnvalue">void</span> <a class="link" href="gnome-keyring-Item-ACLs.html#gnome-keyring-item-ac-set-path-name" title="gnome_keyring_item_ac_set_path_name ()">gnome_keyring_item_ac_set_path_name</a> (<em class="parameter"><code><a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessControl" title="GnomeKeyringAccessControl"><span class="type">GnomeKeyringAccessControl</span></a> *ac</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *value</code></em>);
<a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessType" title="enum GnomeKeyringAccessType"><span class="returnvalue">GnomeKeyringAccessType</span></a> <a class="link" href="gnome-keyring-Item-ACLs.html#gnome-keyring-item-ac-get-access-type" title="gnome_keyring_item_ac_get_access_type ()">gnome_keyring_item_ac_get_access_type</a>
(<em class="parameter"><code><a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessControl" title="GnomeKeyringAccessControl"><span class="type">GnomeKeyringAccessControl</span></a> *ac</code></em>);
<span class="returnvalue">void</span> <a class="link" href="gnome-keyring-Item-ACLs.html#gnome-keyring-item-ac-set-access-type" title="gnome_keyring_item_ac_set_access_type ()">gnome_keyring_item_ac_set_access_type</a>
(<em class="parameter"><code><a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessControl" title="GnomeKeyringAccessControl"><span class="type">GnomeKeyringAccessControl</span></a> *ac</code></em>,
<em class="parameter"><code>const <a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessType" title="enum GnomeKeyringAccessType"><span class="type">GnomeKeyringAccessType</span></a> value</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="gnome-keyring-Item-ACLs.description"></a><h2>Description</h2>
<p>
Each item has an access control list, which specifies the applications that
can read, write or delete an item. The read access applies only to reading the secret.
All applications can read other parts of the item. ACLs are accessed and changed
<a class="link" href="gnome-keyring-Keyring-Items.html#gnome-keyring-item-get-acl" title="gnome_keyring_item_get_acl ()"><code class="function">gnome_keyring_item_get_acl()</code></a> and <a class="link" href="gnome-keyring-Keyring-Items.html#gnome-keyring-item-set-acl" title="gnome_keyring_item_set_acl ()"><code class="function">gnome_keyring_item_set_acl()</code></a>.
</p>
</div>
<div class="refsect1">
<a name="gnome-keyring-Item-ACLs.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GnomeKeyringAccessControl"></a><h3>GnomeKeyringAccessControl</h3>
<pre class="programlisting">typedef struct GnomeKeyringAccessControl GnomeKeyringAccessControl;
</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GnomeKeyringAccessControl</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
A structure which contains access control information.
</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeKeyringApplicationRef"></a><h3>GnomeKeyringApplicationRef</h3>
<pre class="programlisting">typedef struct GnomeKeyringApplicationRef GnomeKeyringApplicationRef;
</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GnomeKeyringApplicationRef</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeKeyringAccessType"></a><h3>enum GnomeKeyringAccessType</h3>
<pre class="programlisting">typedef enum {
GNOME_KEYRING_ACCESS_READ = 1<<0,
GNOME_KEYRING_ACCESS_WRITE = 1<<1,
GNOME_KEYRING_ACCESS_REMOVE = 1<<2
} GnomeKeyringAccessType;
</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GnomeKeyringAccessType</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Type of access.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><a name="GNOME-KEYRING-ACCESS-READ:CAPS"></a><span class="term"><code class="literal">GNOME_KEYRING_ACCESS_READ</code></span></p></td>
<td>Read access
</td>
</tr>
<tr>
<td><p><a name="GNOME-KEYRING-ACCESS-WRITE:CAPS"></a><span class="term"><code class="literal">GNOME_KEYRING_ACCESS_WRITE</code></span></p></td>
<td>Write access
</td>
</tr>
<tr>
<td><p><a name="GNOME-KEYRING-ACCESS-REMOVE:CAPS"></a><span class="term"><code class="literal">GNOME_KEYRING_ACCESS_REMOVE</code></span></p></td>
<td>Delete access
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GnomeKeyringAccessRestriction"></a><h3>enum GnomeKeyringAccessRestriction</h3>
<pre class="programlisting">typedef enum {
GNOME_KEYRING_ACCESS_ASK,
GNOME_KEYRING_ACCESS_DENY,
GNOME_KEYRING_ACCESS_ALLOW
} GnomeKeyringAccessRestriction;
</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GnomeKeyringAccessRestriction</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Type of access restriction.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><a name="GNOME-KEYRING-ACCESS-ASK:CAPS"></a><span class="term"><code class="literal">GNOME_KEYRING_ACCESS_ASK</code></span></p></td>
<td>Ask permission.
</td>
</tr>
<tr>
<td><p><a name="GNOME-KEYRING-ACCESS-DENY:CAPS"></a><span class="term"><code class="literal">GNOME_KEYRING_ACCESS_DENY</code></span></p></td>
<td>Deny permission.
</td>
</tr>
<tr>
<td><p><a name="GNOME-KEYRING-ACCESS-ALLOW:CAPS"></a><span class="term"><code class="literal">GNOME_KEYRING_ACCESS_ALLOW</code></span></p></td>
<td>Give permission.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-keyring-application-ref-new"></a><h3>gnome_keyring_application_ref_new ()</h3>
<pre class="programlisting"><a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringApplicationRef" title="GnomeKeyringApplicationRef"><span class="returnvalue">GnomeKeyringApplicationRef</span></a> * gnome_keyring_application_ref_new
(<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_keyring_application_ref_new</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Create a new application reference.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A new <a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringApplicationRef" title="GnomeKeyringApplicationRef"><span class="type">GnomeKeyringApplicationRef</span></a> pointer.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-keyring-application-ref-copy"></a><h3>gnome_keyring_application_ref_copy ()</h3>
<pre class="programlisting"><a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringApplicationRef" title="GnomeKeyringApplicationRef"><span class="returnvalue">GnomeKeyringApplicationRef</span></a> * gnome_keyring_application_ref_copy
(<em class="parameter"><code>const <a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringApplicationRef" title="GnomeKeyringApplicationRef"><span class="type">GnomeKeyringApplicationRef</span></a> *app</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_keyring_application_ref_copy</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Copy an application reference.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>app</code></em> :</span></p></td>
<td>A <a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringApplicationRef" title="GnomeKeyringApplicationRef"><span class="type">GnomeKeyringApplicationRef</span></a> pointer</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A new <a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringApplicationRef" title="GnomeKeyringApplicationRef"><span class="type">GnomeKeyringApplicationRef</span></a> pointer.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-keyring-application-ref-free"></a><h3>gnome_keyring_application_ref_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gnome_keyring_application_ref_free (<em class="parameter"><code><a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringApplicationRef" title="GnomeKeyringApplicationRef"><span class="type">GnomeKeyringApplicationRef</span></a> *app</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_keyring_application_ref_free</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Free an application reference.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>app</code></em> :</span></p></td>
<td>A <a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringApplicationRef" title="GnomeKeyringApplicationRef"><span class="type">GnomeKeyringApplicationRef</span></a> pointer</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-keyring-access-control-new"></a><h3>gnome_keyring_access_control_new ()</h3>
<pre class="programlisting"><a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessControl" title="GnomeKeyringAccessControl"><span class="returnvalue">GnomeKeyringAccessControl</span></a> * gnome_keyring_access_control_new
(<em class="parameter"><code>const <a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringApplicationRef" title="GnomeKeyringApplicationRef"><span class="type">GnomeKeyringApplicationRef</span></a> *application</code></em>,
<em class="parameter"><code><a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessType" title="enum GnomeKeyringAccessType"><span class="type">GnomeKeyringAccessType</span></a> types_allowed</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_keyring_access_control_new</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Create a new access control for an item. Combine the various access
rights allowed.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>application</code></em> :</span></p></td>
<td>A <a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringApplicationRef" title="GnomeKeyringApplicationRef"><span class="type">GnomeKeyringApplicationRef</span></a> pointer</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>types_allowed</code></em> :</span></p></td>
<td>Access types allowed.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The new <a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessControl" title="GnomeKeyringAccessControl"><span class="type">GnomeKeyringAccessControl</span></a> pointer. Use
<a class="link" href="gnome-keyring-Item-ACLs.html#gnome-keyring-access-control-free" title="gnome_keyring_access_control_free ()"><code class="function">gnome_keyring_access_control_free()</code></a> to free the memory.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-keyring-access-control-copy"></a><h3>gnome_keyring_access_control_copy ()</h3>
<pre class="programlisting"><a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessControl" title="GnomeKeyringAccessControl"><span class="returnvalue">GnomeKeyringAccessControl</span></a> * gnome_keyring_access_control_copy
(<em class="parameter"><code><a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessControl" title="GnomeKeyringAccessControl"><span class="type">GnomeKeyringAccessControl</span></a> *ac</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_keyring_access_control_copy</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Copy an access control for an item.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ac</code></em> :</span></p></td>
<td>A <a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessControl" title="GnomeKeyringAccessControl"><span class="type">GnomeKeyringAccessControl</span></a> pointer</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The new <a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessControl" title="GnomeKeyringAccessControl"><span class="type">GnomeKeyringAccessControl</span></a> pointer. Use
<a class="link" href="gnome-keyring-Item-ACLs.html#gnome-keyring-access-control-free" title="gnome_keyring_access_control_free ()"><code class="function">gnome_keyring_access_control_free()</code></a> to free the memory.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-keyring-access-control-free"></a><h3>gnome_keyring_access_control_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gnome_keyring_access_control_free (<em class="parameter"><code><a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessControl" title="GnomeKeyringAccessControl"><span class="type">GnomeKeyringAccessControl</span></a> *ac</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_keyring_access_control_free</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Free an access control for an item.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>ac</code></em> :</span></p></td>
<td>A <a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessControl" title="GnomeKeyringAccessControl"><span class="type">GnomeKeyringAccessControl</span></a> pointer</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-keyring-acl-copy"></a><h3>gnome_keyring_acl_copy ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * gnome_keyring_acl_copy (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *list</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_keyring_acl_copy</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Copy an access control list.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td>A list of
<a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessControl" title="GnomeKeyringAccessControl"><span class="type">GnomeKeyringAccessControl</span></a> pointers. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GnomeKeyringAccessControl]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A new list of <a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessControl" title="GnomeKeyringAccessControl"><span class="type">GnomeKeyringAccessControl</span></a> items. Use <a class="link" href="gnome-keyring-Item-ACLs.html#gnome-keyring-acl-free" title="gnome_keyring_acl_free ()"><code class="function">gnome_keyring_acl_free()</code></a>
to free the memory. <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> GnomeKeyringAccessControl]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-keyring-acl-free"></a><h3>gnome_keyring_acl_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gnome_keyring_acl_free (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *acl</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_keyring_acl_free</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Free an access control list.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>acl</code></em> :</span></p></td>
<td>A list of
<a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessControl" title="GnomeKeyringAccessControl"><span class="type">GnomeKeyringAccessControl</span></a> pointers. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GnomeKeyringAccessControl]</span>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-keyring-item-ac-get-display-name"></a><h3>gnome_keyring_item_ac_get_display_name ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> * gnome_keyring_item_ac_get_display_name
(<em class="parameter"><code><a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessControl" title="GnomeKeyringAccessControl"><span class="type">GnomeKeyringAccessControl</span></a> *ac</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_keyring_item_ac_get_display_name</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Get the access control application's display name.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ac</code></em> :</span></p></td>
<td>A <a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessControl" title="GnomeKeyringAccessControl"><span class="type">GnomeKeyringAccessControl</span></a> pointer.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A newly allocated string containing the display name.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-keyring-item-ac-set-display-name"></a><h3>gnome_keyring_item_ac_set_display_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gnome_keyring_item_ac_set_display_name
(<em class="parameter"><code><a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessControl" title="GnomeKeyringAccessControl"><span class="type">GnomeKeyringAccessControl</span></a> *ac</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *value</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_keyring_item_ac_set_display_name</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Set the access control application's display name.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ac</code></em> :</span></p></td>
<td>A <a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessControl" title="GnomeKeyringAccessControl"><span class="type">GnomeKeyringAccessControl</span></a> pointer.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
<td>The new application display name.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-keyring-item-ac-get-path-name"></a><h3>gnome_keyring_item_ac_get_path_name ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> * gnome_keyring_item_ac_get_path_name (<em class="parameter"><code><a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessControl" title="GnomeKeyringAccessControl"><span class="type">GnomeKeyringAccessControl</span></a> *ac</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_keyring_item_ac_get_path_name</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Get the access control application's full path name.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ac</code></em> :</span></p></td>
<td>A <a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessControl" title="GnomeKeyringAccessControl"><span class="type">GnomeKeyringAccessControl</span></a> pointer.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A newly allocated string containing the display name.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-keyring-item-ac-set-path-name"></a><h3>gnome_keyring_item_ac_set_path_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gnome_keyring_item_ac_set_path_name (<em class="parameter"><code><a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessControl" title="GnomeKeyringAccessControl"><span class="type">GnomeKeyringAccessControl</span></a> *ac</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *value</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_keyring_item_ac_set_path_name</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Set the access control application's full path name.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ac</code></em> :</span></p></td>
<td>A <a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessControl" title="GnomeKeyringAccessControl"><span class="type">GnomeKeyringAccessControl</span></a> pointer</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
<td>The new application full path.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-keyring-item-ac-get-access-type"></a><h3>gnome_keyring_item_ac_get_access_type ()</h3>
<pre class="programlisting"><a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessType" title="enum GnomeKeyringAccessType"><span class="returnvalue">GnomeKeyringAccessType</span></a> gnome_keyring_item_ac_get_access_type
(<em class="parameter"><code><a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessControl" title="GnomeKeyringAccessControl"><span class="type">GnomeKeyringAccessControl</span></a> *ac</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_keyring_item_ac_get_access_type</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Get the application access rights for the access control.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ac</code></em> :</span></p></td>
<td>A <a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessControl" title="GnomeKeyringAccessControl"><span class="type">GnomeKeyringAccessControl</span></a> pointer.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The access rights.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-keyring-item-ac-set-access-type"></a><h3>gnome_keyring_item_ac_set_access_type ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gnome_keyring_item_ac_set_access_type
(<em class="parameter"><code><a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessControl" title="GnomeKeyringAccessControl"><span class="type">GnomeKeyringAccessControl</span></a> *ac</code></em>,
<em class="parameter"><code>const <a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessType" title="enum GnomeKeyringAccessType"><span class="type">GnomeKeyringAccessType</span></a> value</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_keyring_item_ac_set_access_type</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Set the application access rights for the access control.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>ac</code></em> :</span></p></td>
<td>A <a class="link" href="gnome-keyring-Item-ACLs.html#GnomeKeyringAccessControl" title="GnomeKeyringAccessControl"><span class="type">GnomeKeyringAccessControl</span></a> pointer.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
<td>The new access rights.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.18</div>
</body>
</html>
|