Fix FSF address (Tobias Mueller, #470445)
[platform/upstream/evolution-data-server.git] / addressbook / backends / ldap / e-book-backend-ldap.h
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2
3 /* e-book-backend-ldap.h - LDAP contact backend.
4  *
5  * Copyright (C) 2005 Novell, Inc.
6  *
7  * This program 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.
10  *
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.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this program; if not, write to the
18  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19  * Boston, MA 02110-1301, USA.
20  *
21  * Authors: Chris Toshok <toshok@ximian.com>
22  *          Hans Petter Jansson <hpj@novell.com>
23  */
24
25 #ifndef __E_BOOK_BACKEND_LDAP_H__
26 #define __E_BOOK_BACKEND_LDAP_H__
27
28 #include <libedata-book/e-book-backend.h>
29
30 #define E_TYPE_BOOK_BACKEND_LDAP         (e_book_backend_ldap_get_type ())
31 #define E_BOOK_BACKEND_LDAP(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o), E_TYPE_BOOK_BACKEND_LDAP, EBookBackendLDAP))
32 #define E_BOOK_BACKEND_LDAP_CLASS(k)     (G_TYPE_CHECK_CLASS_CAST((k), E_TYPE_BOOK_BACKEND_LDAP, EBookBackendLDAPClass))
33 #define E_IS_BOOK_BACKEND_LDAP(o)        (G_TYPE_CHECK_INSTANCE_TYPE ((o), E_TYPE_BOOK_BACKEND_LDAP))
34 #define E_IS_BOOK_BACKEND_LDAP_CLASS(k)  (G_TYPE_CHECK_CLASS_TYPE ((k), E_TYPE_BOOK_BACKEND_LDAP))
35 #define E_BOOK_BACKEND_LDAP_GET_CLASS(k) (G_TYPE_INSTANCE_GET_CLASS ((obj), E_TYPE_BOOK_BACKEND_LDAP, EBookBackendLDAPClass))
36
37 typedef struct _EBookBackendLDAPPrivate EBookBackendLDAPPrivate;
38
39 typedef struct {
40         EBookBackend             parent_object;
41         EBookBackendLDAPPrivate *priv;
42 } EBookBackendLDAP;
43
44 typedef struct {
45         EBookBackendClass parent_class;
46 } EBookBackendLDAPClass;
47
48 EBookBackend *e_book_backend_ldap_new      (void);
49 GType       e_book_backend_ldap_get_type (void);
50
51 #endif /* ! __E_BOOK_BACKEND_LDAP_H__ */
52