1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
3 /* e-book-auth-util.h - Lame helper to load addressbooks with authentication.
5 * Copyright (C) 2005 Novell, Inc.
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of version 2 of the GNU Lesser General Public
9 * License as published by the Free Software Foundation.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the
18 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
21 * Authors: Hans Petter Jansson <hpj@novell.com>
23 * Mostly taken from Evolution's addressbook/gui/component/addressbook.c
26 #ifndef E_BOOK_AUTH_UTIL_H
27 #define E_BOOK_AUTH_UTIL_H
29 #include <libebook/e-book.h>
31 EBook *e_load_book_source (ESource *source, EBookCallback open_func, gpointer user_data);