Fix FSF address (Tobias Mueller, #470445)
[platform/upstream/evolution-data-server.git] / camel / camel-lock-client.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
2  *
3  * Author: Michael Zucchi <notzed@ximian.com>
4  *
5  * Copyright (C) 2001 Ximian Inc (www.ximian.com/)
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
14  * GNU Lesser General Public License for more details.
15  *
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
19  * USA
20  */
21
22 /* defines protocol for lock helper process ipc */
23
24 #ifndef _CAMEL_LOCK_CLIENT_H
25 #define _CAMEL_LOCK_CLIENT_H
26
27 #include <camel/camel-exception.h>
28
29 G_BEGIN_DECLS
30
31 int camel_lock_helper_lock(const char *path , CamelException *ex);
32 int camel_lock_helper_unlock(int lockid);
33
34 G_END_DECLS
35
36 #endif /* !_CAMEL_LOCK_HELPER_H */