1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
3 * Authors: Siviah Nallagatla <snallagatla@novell.com>
5 * Copyright 2004 Novell Inc
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.
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
14 * GNU Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
22 #ifndef CAMEL_GROUPWISE_PRIVATE_H
23 #define CAMEL_GROUPWISE_PRIVATE_H 1
25 /* need a way to configure and save this data, if this header is to
26 be installed. For now, dont install it */
33 #define CAMEL_GROUPWISE_FOLDER_LOCK(f, l) \
34 (g_static_mutex_lock(&((CamelGroupwiseFolder *)f)->priv->l))
35 #define CAMEL_GROUPWISE_FOLDER_UNLOCK(f, l) \
36 (g_static_mutex_unlock(&((CamelGroupwiseFolder *)f)->priv->l))
37 #define CAMEL_GROUPWISE_FOLDER_REC_LOCK(f, l) \
38 (g_static_rec_mutex_lock(&((CamelGroupwiseFolder *)f)->priv->l))
39 #define CAMEL_GROUPWISE_FOLDER_REC_UNLOCK(f, l) \
40 (g_static_rec_mutex_unlock(&((CamelGroupwiseFolder *)f)->priv->l))
42 #define GROUPWISE_FOLDER_LOCK(f, l)
43 #define GROUPWISE_FOLDER_UNLOCK(f, l)
44 #define GROUPWISE_FOLDER_REC_LOCK(f, l)
45 #define GROUPWISE_FOLDER_REC_UNLOCK(f, l)
48 #endif /* CAMEL_IMAP_PRIVATE_H */