From 3c3f03b81f3027ef0a25bd790605265b384b93c1 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Thu, 25 Jul 2013 17:58:48 +0200 Subject: ulockmgr: strip ulockmgr support from this source package Distribute ulockmgr separately. It is not needed for the building of libfuse, only fusexmp_fh. Check ulockmgr library in ./configure and if not disable remote-lock suport in fusexmp_fh. --- include/Makefile.am | 2 -- include/ulockmgr.h | 24 ------------------------ 2 files changed, 26 deletions(-) delete mode 100644 include/ulockmgr.h (limited to 'include') diff --git a/include/Makefile.am b/include/Makefile.am index bfe91e4..ffbfafa 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -9,6 +9,4 @@ fuseinclude_HEADERS = \ fuse_opt.h \ cuse_lowlevel.h -include_HEADERS = ulockmgr.h - noinst_HEADERS = fuse_kernel.h diff --git a/include/ulockmgr.h b/include/ulockmgr.h deleted file mode 100644 index ad55579..0000000 --- a/include/ulockmgr.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - libulockmgr: Userspace Lock Manager Library - Copyright (C) 2006 Miklos Szeredi - - This program can be distributed under the terms of the GNU LGPLv2. - See the file COPYING.LIB. -*/ - -#include -#include -#include - -/** - * Perform POSIX locking operation - * - * @param fd the file descriptor - * @param cmd the locking command (F_GETFL, F_SETLK or F_SETLKW) - * @param lock the lock parameters - * @param owner the lock owner ID cookie - * @param owner_len length of the lock owner ID cookie - * @return 0 on success -errno on error - */ -int ulockmgr_op(int fd, int cmd, struct flock *lock, const void *owner, - size_t owner_len); -- cgit v1.2.3