| 1 | /*
 | 
|---|
| 2 |    Unix SMB/CIFS implementation.
 | 
|---|
| 3 |    Wrap gpfs calls in vfs functions.
 | 
|---|
| 4 |  
 | 
|---|
| 5 |    Copyright (C) Christian Ambach <cambach1@de.ibm.com> 2006
 | 
|---|
| 6 |    
 | 
|---|
| 7 |    Major code contributions by Chetan Shringarpure <chetan.sh@in.ibm.com>
 | 
|---|
| 8 |                             and Gomati Mohanan <gomati.mohanan@in.ibm.com>
 | 
|---|
| 9 |    
 | 
|---|
| 10 |    This program is free software; you can redistribute it and/or modify
 | 
|---|
| 11 |    it under the terms of the GNU General Public License as published by
 | 
|---|
| 12 |    the Free Software Foundation; either version 2 of the License, or
 | 
|---|
| 13 |    (at your option) any later version.
 | 
|---|
| 14 |    
 | 
|---|
| 15 |    This program is distributed in the hope that it will be useful,
 | 
|---|
| 16 |    but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
|---|
| 17 |    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | 
|---|
| 18 |    GNU General Public License for more details.
 | 
|---|
| 19 |    
 | 
|---|
| 20 |    You should have received a copy of the GNU General Public License
 | 
|---|
| 21 |    along with this program; if not, write to the Free Software
 | 
|---|
| 22 |    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 | 
|---|
| 23 |   
 | 
|---|
| 24 | 
 | 
|---|
| 25 | */
 | 
|---|
| 26 | 
 | 
|---|
| 27 | bool set_gpfs_sharemode(files_struct *fsp, uint32 access_mask,
 | 
|---|
| 28 |                         uint32 share_access);
 | 
|---|
| 29 | int set_gpfs_lease(int fd, int leasetype);
 | 
|---|
| 30 | int smbd_gpfs_getacl(char *pathname, int flags, void *acl);
 | 
|---|
| 31 | int smbd_gpfs_putacl(char *pathname, int flags, void *acl);
 | 
|---|
| 32 | int smbd_gpfs_get_realfilename_path(char *pathname, char *filenamep,
 | 
|---|
| 33 |                                     int *buflen);
 | 
|---|
| 34 | int smbd_fget_gpfs_winattrs(int fd, struct gpfs_winattr *attrs);
 | 
|---|
| 35 | int get_gpfs_winattrs(char * pathname,struct gpfs_winattr *attrs);
 | 
|---|
| 36 | int set_gpfs_winattrs(char * pathname,int flags,struct gpfs_winattr *attrs);
 | 
|---|
| 37 | void init_gpfs(void);
 | 
|---|