Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

glue.H

Go to the documentation of this file.
00001 // Copyright (C) 2001, Compaq Computer Corporation
00002 // 
00003 // This file is part of Vesta.
00004 // 
00005 // Vesta is free software; you can redistribute it and/or
00006 // modify it under the terms of the GNU Lesser General Public
00007 // License as published by the Free Software Foundation; either
00008 // version 2.1 of the License, or (at your option) any later version.
00009 // 
00010 // Vesta is distributed in the hope that it will be useful,
00011 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013 // Lesser General Public License for more details.
00014 // 
00015 // You should have received a copy of the GNU Lesser General Public
00016 // License along with Vesta; if not, write to the Free Software
00017 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00018 
00019 //
00020 // glue.H
00021 // Last modified on Mon Nov 12 18:37:56 EST 2001 by ken@xorian.net
00022 //      modified on Tue Sep 12 12:13:30 PDT 2000 by mann
00023 //
00024 // Glue code between nfsd.C and repository implementation
00025 //
00026 
00027 #include "VestaSource.H"
00028 
00029 extern nfsstat do_getattr(nfs_fh* fh, fattr* attr,
00030                           AccessControl::Identity cred);
00031 extern nfsstat do_setattr(sattrargs* argp, fattr* attr,
00032                           AccessControl::Identity cred);
00033 extern nfsstat do_lookup(diropargs *dopa, diropokres* dp,
00034                          AccessControl::Identity cred);
00035 extern nfsstat do_readlink(nfs_fh *fh, nfspath np,
00036                            AccessControl::Identity cred);
00037 extern int fh_fd(nfs_fh* fh, nfsstat* status, int omode, VestaSource** vsout,
00038                  int* oflout, AccessControl::Identity cred);
00039 extern nfsstat xlate_errno(int errno_val);
00040 extern nfsstat any_fattr(fattr* attr, VestaSource* vs, int fd);
00041 extern void fd_inactive(void* vsin, int fd, int ofl);
00042 extern nfsstat do_create(createargs* argp, diropokres* dp,
00043                          AccessControl::Identity cred);
00044 extern nfsstat do_remove(diropargs* argp, AccessControl::Identity cred);
00045 extern nfsstat do_rename(renameargs* argp, AccessControl::Identity cred);
00046 extern nfsstat do_hardlink(linkargs* argp, AccessControl::Identity cred);
00047 extern nfsstat do_symlink(symlinkargs* argp, AccessControl::Identity cred);
00048 extern nfsstat do_mkdir(createargs* argp, diropokres* dp,
00049                         AccessControl::Identity cred);
00050 extern nfsstat do_readdir(readdirargs* argp, result_types* resp,
00051                           AccessControl::Identity cred);
00052 extern nfsstat do_statfs(nfs_fh* argp, result_types* resp,
00053                          AccessControl::Identity cred);
00054 
00055 

Generated on Mon May 8 00:48:44 2006 for Vesta by  doxygen 1.4.2