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
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>GnomeAuthentication</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="index.html" title="GNOME UI Library Reference Manual">
<link rel="up" href="application-mgmt.html" title="Application Management">
<link rel="prev" href="libgnomeui-GnomeMultiScreen.html" title="GnomeMultiScreen">
<link rel="next" href="libgnomeui-GnomePassword.html" title="GnomePassword">
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="pt01.html" title="Part I. GNOME UI Library (libgnomeui)">
<link rel="chapter" href="initialization.html" title="Initialization and Session Management">
<link rel="chapter" href="application-mgmt.html" title="Application Management">
<link rel="chapter" href="druids.html" title="Druids">
<link rel="chapter" href="fixme.html" title="Miscellaneous Widgets">
<link rel="chapter" href="miscellaneous.html" title="Miscellaneous Utility Functions and Macros">
<link rel="chapter" href="deprecated.html" title="Deprecated Modules">
<link rel="chapter" href="libgnomeui-objects.html" title="Object Hierarchy">
<link rel="index" href="ix01.html" title="Index">
<link rel="index" href="ix02.html" title="Index of deprecated symbols">
<link rel="index" href="ix03.html" title="Index of new symbols in 2.2">
<link rel="index" href="ix04.html" title="Index of new symbols in 2.4">
<link rel="index" href="ix05.html" title="Index of new symbols in 2.6">
<link rel="index" href="ix06.html" title="Index of new symbols in 2.8">
<link rel="index" href="ix07.html" title="Index of new symbols in 2.10">
<link rel="index" href="ix08.html" title="Index of new symbols in 2.12">
<link rel="index" href="ix09.html" title="Index of new symbols in 2.14">
<link rel="index" href="ix10.html" title="Index of new symbols in 2.16">
</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="libgnomeui-GnomeMultiScreen.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="application-mgmt.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 UI Library Reference Manual</th>
<td><a accesskey="n" href="libgnomeui-GnomePassword.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2615269" class="shortcut">Top</a>
 | 
<a href="#id2615382" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgnomeui-GnomeAuthentication"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2615269"></a><span class="refentrytitle">GnomeAuthentication</span>
</h2>
<p>GnomeAuthentication</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<pre class="synopsis">
#include <libgnomeui/libgnomeui.h>
void <a href="libgnomeui-GnomeAuthentication.html#gnome-authentication-manager-init">gnome_authentication_manager_init</a> (void);
gboolean <a href="libgnomeui-GnomeAuthentication.html#gnome-authentication-manager-dialog-is-visible">gnome_authentication_manager_dialog_is_visible</a>
(void);
void <a href="libgnomeui-GnomeAuthentication.html#gnome-authentication-manager-pop-async">gnome_authentication_manager_pop_async</a>
(void);
void <a href="libgnomeui-GnomeAuthentication.html#gnome-authentication-manager-pop-sync">gnome_authentication_manager_pop_sync</a>
(void);
void <a href="libgnomeui-GnomeAuthentication.html#gnome-authentication-manager-push-async">gnome_authentication_manager_push_async</a>
(void);
void <a href="libgnomeui-GnomeAuthentication.html#gnome-authentication-manager-push-sync">gnome_authentication_manager_push_sync</a>
(void);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2615382"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2615397"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2615407"></a><h3>
<a name="gnome-authentication-manager-init"></a>gnome_authentication_manager_init ()</h3>
<a class="indexterm" name="id2615424"></a><pre class="programlisting">void gnome_authentication_manager_init (void);</pre>
<p>
This function checks for thread support and does a thread initialisation, if the support
is available. Also sets the default sync and async gnome-vfs callbacks for various types
of authentication.
</p>
<p>
Note: If you call this, and you use threads with gtk+, you must never
hold the gdk lock while doing synchronous gnome-vfs calls. Otherwise
an authentication callback presenting a dialog could try to grab the
already held gdk lock, causing a deadlock.</p>
<p>
</p>
<p class="since">Since 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2615466"></a><h3>
<a name="gnome-authentication-manager-dialog-is-visible"></a>gnome_authentication_manager_dialog_is_visible ()</h3>
<a class="indexterm" name="id2615482"></a><pre class="programlisting">gboolean gnome_authentication_manager_dialog_is_visible
(void);</pre>
<p>
This function checks whether there are any references on the authentication dialog and returns a
a gboolean value.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> TRUE if there are any references on the authentication dialog, FALSE otherwise.
</td>
</tr></tbody>
</table></div>
<p class="since">Since 2.8
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2615533"></a><h3>
<a name="gnome-authentication-manager-pop-async"></a>gnome_authentication_manager_pop_async ()</h3>
<a class="indexterm" name="id2615549"></a><pre class="programlisting">void gnome_authentication_manager_pop_async
(void);</pre>
<p>
This function calls <code class="function">gnome_vfs_async_module_callback_pop()</code> to remove all the temporary async
gnome-vfs callbacks associated with various types of authentication.</p>
<p>
</p>
<p class="since">Since 2.6
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2615598"></a><h3>
<a name="gnome-authentication-manager-pop-sync"></a>gnome_authentication_manager_pop_sync ()</h3>
<a class="indexterm" name="id2615614"></a><pre class="programlisting">void gnome_authentication_manager_pop_sync
(void);</pre>
<p>
This function calls <code class="function">gnome_vfs_module_callback_pop()</code> to remove all the gnome-vfs sync handlers associated
with various types of authentication.</p>
<p>
</p>
<p class="since">Since 2.6
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2615661"></a><h3>
<a name="gnome-authentication-manager-push-async"></a>gnome_authentication_manager_push_async ()</h3>
<a class="indexterm" name="id2615677"></a><pre class="programlisting">void gnome_authentication_manager_push_async
(void);</pre>
<p>
This function calls <code class="function">gnome_vfs_async_module_callback_push()</code> to set temporary async handlers for
the various types of authentication.</p>
<p>
</p>
<p class="since">Since 2.6
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2615724"></a><h3>
<a name="gnome-authentication-manager-push-sync"></a>gnome_authentication_manager_push_sync ()</h3>
<a class="indexterm" name="id2615740"></a><pre class="programlisting">void gnome_authentication_manager_push_sync
(void);</pre>
<p>
This function calls <code class="function">gnome_vfs_module_callback_push()</code> to set temperory handlers for
various types of authentication.</p>
<p>
</p>
<p class="since">Since 2.6
</p>
</div>
</div>
</div>
</body>
</html>
|