<?xml version="1.0"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
               "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<refentry id="libedataserverui-e-book-auth-util">
<refmeta>
<refentrytitle role="top_of_page">e-book-auth-util</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBEDATASERVERUI Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>e-book-auth-util</refname>
<refpurpose></refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>

<refsynopsisdiv role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>



<link linkend="EBook">EBook</link>*      <link linkend="e-load-book-source">e_load_book_source</link>              (<link linkend="ESource">ESource</link> *source,
                                             <link linkend="EBookCallback">EBookCallback</link> open_func,
                                             <link linkend="gpointer">gpointer</link> user_data);
</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="e-load-book-source" role="function"/>e_load_book_source ()</title>
<indexterm><primary>e_load_book_source</primary></indexterm><programlisting><link linkend="EBook">EBook</link>*      e_load_book_source              (<link linkend="ESource">ESource</link> *source,
                                             <link linkend="EBookCallback">EBookCallback</link> open_func,
                                             <link linkend="gpointer">gpointer</link> user_data);</programlisting>
<para>
Creates a new <link linkend="EBook"><type>EBook</type></link> specified by <parameter>source</parameter>, and starts a non-blocking
open operation on it. If the book requires authorization, presents
a window asking the user for such.
</para>
<para>
When the operation finishes, calls the callback function indicating
if it succeeded or not. If you don't care, you can pass <link linkend="NULL:CAPS"><literal>NULL</literal></link> for
<parameter>open_func</parameter>, and no action will be taken on completion.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>source</parameter>&nbsp;:</term>
<listitem><simpara> an <link linkend="ESource"><type>ESource</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>open_func</parameter>&nbsp;:</term>
<listitem><simpara> a function to call when the operation finishes, or <link linkend="NULL:CAPS"><literal>NULL</literal></link>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>user_data</parameter>&nbsp;:</term>
<listitem><simpara> data to pass to callback function
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> A new <link linkend="EBook"><type>EBook</type></link> that is being opened.
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>




</refentry>
