1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
3 * Author: Michael Zucchi <notzed@ximian.com>
5 * Copyright (C) 2001 Ximian Inc (www.ximian.com/)
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 /* defines protocol for lock helper process ipc */
24 #ifndef _CAMEL_LOCK_CLIENT_H
25 #define _CAMEL_LOCK_CLIENT_H
27 #include <camel/camel-exception.h>
31 int camel_lock_helper_lock(const char *path , CamelException *ex);
32 int camel_lock_helper_unlock(int lockid);
36 #endif /* !_CAMEL_LOCK_HELPER_H */