3 * Copyright (C) 2002 Florin Malita <mali@go.ro>
5 * This file is part of LUFS, a free userspace filesystem implementation.
6 * See http://lufs.sourceforge.net/ for updates.
8 * LUFS is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * LUFS is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26 #include <linux/types.h>
27 #include <linux/list.h>
28 #include <linux/socket.h>
31 struct socket *s_sock;
32 struct semaphore s_lock;
33 struct list_head s_list;
40 int lu_execute(struct lufs_sb_info*, struct server_slot*, unsigned short, struct iovec*, unsigned short, struct iovec*, unsigned short);
41 void lu_empty_slots(struct lufs_sb_info*);
42 int lu_getname(struct dentry*, char*, int);
43 int lu_getname_dumb(struct dentry*, char*, int);
44 struct server_slot* lu_getslot(struct lufs_sb_info*);
45 void lu_putslot(struct server_slot*);
46 int lu_revalidate_inode(struct dentry*);
47 void lu_lookup_root(struct lufs_sb_info*, struct lufs_fattr*);
48 void lu_fixattrs(struct lufs_sb_info*, struct lufs_fattr*);
49 void lu_xlate_symlink(char*, char*, char*);