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
|
<refentry id="libgnomeui-GnomeAuthentication">
<refmeta>
<refentrytitle role="top_of_page">GnomeAuthentication</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGNOMEUI Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GnomeAuthentication</refname>
<refpurpose></refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv role="synopsis">
<title role="synopsis.title">Synopsis</title>
<synopsis>
#include <libgnomeui/libgnomeui.h>
<link linkend="void">void</link> <link linkend="gnome-authentication-manager-init">gnome_authentication_manager_init</link> (void);
<link linkend="gboolean">gboolean</link> <link linkend="gnome-authentication-manager-dialog-is-visible">gnome_authentication_manager_dialog_is_visible</link>
(void);
<link linkend="void">void</link> <link linkend="gnome-authentication-manager-pop-async">gnome_authentication_manager_pop_async</link>
(void);
<link linkend="void">void</link> <link linkend="gnome-authentication-manager-pop-sync">gnome_authentication_manager_pop_sync</link>
(void);
<link linkend="void">void</link> <link linkend="gnome-authentication-manager-push-async">gnome_authentication_manager_push_async</link>
(void);
<link linkend="void">void</link> <link linkend="gnome-authentication-manager-push-sync">gnome_authentication_manager_push_sync</link>
(void);
</synopsis>
</refsynopsisdiv>
<refsect1 role="desc">
<title role="desc.title">Description</title>
<para>
</para>
</refsect1>
<refsect1 role="details">
<title role="details.title">Details</title>
<refsect2>
<title><anchor id="gnome-authentication-manager-init" role="function" condition="since:2.4"/>gnome_authentication_manager_init ()</title>
<indexterm role="2.4"><primary>gnome_authentication_manager_init</primary></indexterm><programlisting><link linkend="void">void</link> gnome_authentication_manager_init (void);</programlisting>
<para>
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.
</para>
<para>
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.</para>
<para>
</para><para role="since">Since 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gnome-authentication-manager-dialog-is-visible" role="function" condition="since:2.8"/>gnome_authentication_manager_dialog_is_visible ()</title>
<indexterm role="2.8"><primary>gnome_authentication_manager_dialog_is_visible</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gnome_authentication_manager_dialog_is_visible
(void);</programlisting>
<para>
This function checks whether there are any references on the authentication dialog and returns a
a gboolean value.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> TRUE if there are any references on the authentication dialog, FALSE otherwise.
</simpara></listitem></varlistentry>
</variablelist><para role="since">Since 2.8
</para></refsect2>
<refsect2>
<title><anchor id="gnome-authentication-manager-pop-async" role="function" condition="since:2.6"/>gnome_authentication_manager_pop_async ()</title>
<indexterm role="2.6"><primary>gnome_authentication_manager_pop_async</primary></indexterm><programlisting><link linkend="void">void</link> gnome_authentication_manager_pop_async
(void);</programlisting>
<para>
This function calls <link linkend="gnome-vfs-async-module-callback-pop"><function>gnome_vfs_async_module_callback_pop()</function></link> to remove all the temporary async
gnome-vfs callbacks associated with various types of authentication.</para>
<para>
</para><para role="since">Since 2.6
</para></refsect2>
<refsect2>
<title><anchor id="gnome-authentication-manager-pop-sync" role="function" condition="since:2.6"/>gnome_authentication_manager_pop_sync ()</title>
<indexterm role="2.6"><primary>gnome_authentication_manager_pop_sync</primary></indexterm><programlisting><link linkend="void">void</link> gnome_authentication_manager_pop_sync
(void);</programlisting>
<para>
This function calls <link linkend="gnome-vfs-module-callback-pop"><function>gnome_vfs_module_callback_pop()</function></link> to remove all the gnome-vfs sync handlers associated
with various types of authentication.</para>
<para>
</para><para role="since">Since 2.6
</para></refsect2>
<refsect2>
<title><anchor id="gnome-authentication-manager-push-async" role="function" condition="since:2.6"/>gnome_authentication_manager_push_async ()</title>
<indexterm role="2.6"><primary>gnome_authentication_manager_push_async</primary></indexterm><programlisting><link linkend="void">void</link> gnome_authentication_manager_push_async
(void);</programlisting>
<para>
This function calls <link linkend="gnome-vfs-async-module-callback-push"><function>gnome_vfs_async_module_callback_push()</function></link> to set temporary async handlers for
the various types of authentication.</para>
<para>
</para><para role="since">Since 2.6
</para></refsect2>
<refsect2>
<title><anchor id="gnome-authentication-manager-push-sync" role="function" condition="since:2.6"/>gnome_authentication_manager_push_sync ()</title>
<indexterm role="2.6"><primary>gnome_authentication_manager_push_sync</primary></indexterm><programlisting><link linkend="void">void</link> gnome_authentication_manager_push_sync
(void);</programlisting>
<para>
This function calls <link linkend="gnome-vfs-module-callback-push"><function>gnome_vfs_module_callback_push()</function></link> to set temperory handlers for
various types of authentication.</para>
<para>
</para><para role="since">Since 2.6
</para></refsect2>
</refsect1>
</refentry>
|