smbfs_subr.h (87599) | smbfs_subr.h (103533) |
---|---|
1/* 2 * Copyright (c) 2000-2001, Boris Popov 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 15 unchanged lines hidden (view full) --- 24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * | 1/* 2 * Copyright (c) 2000-2001, Boris Popov 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 15 unchanged lines hidden (view full) --- 24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * |
32 * $FreeBSD: head/sys/fs/smbfs/smbfs_subr.h 87599 2001-12-10 08:09:49Z obrien $ | 32 * $FreeBSD: head/sys/fs/smbfs/smbfs_subr.h 103533 2002-09-18 09:27:04Z bp $ |
33 */ 34#ifndef _FS_SMBFS_SMBFS_SUBR_H_ 35#define _FS_SMBFS_SMBFS_SUBR_H_ 36 37#ifdef MALLOC_DECLARE 38MALLOC_DECLARE(M_SMBFSDATA); 39#endif 40 --- 94 unchanged lines hidden (view full) --- 135int smbfs_smb_lock(struct smbnode *np, int op, caddr_t id, 136 off_t start, off_t end, struct smb_cred *scred); 137int smbfs_smb_statfs2(struct smb_share *ssp, struct statfs *sbp, 138 struct smb_cred *scred); 139int smbfs_smb_statfs(struct smb_share *ssp, struct statfs *sbp, 140 struct smb_cred *scred); 141int smbfs_smb_setfsize(struct smbnode *np, int newsize, struct smb_cred *scred); 142 | 33 */ 34#ifndef _FS_SMBFS_SMBFS_SUBR_H_ 35#define _FS_SMBFS_SMBFS_SUBR_H_ 36 37#ifdef MALLOC_DECLARE 38MALLOC_DECLARE(M_SMBFSDATA); 39#endif 40 --- 94 unchanged lines hidden (view full) --- 135int smbfs_smb_lock(struct smbnode *np, int op, caddr_t id, 136 off_t start, off_t end, struct smb_cred *scred); 137int smbfs_smb_statfs2(struct smb_share *ssp, struct statfs *sbp, 138 struct smb_cred *scred); 139int smbfs_smb_statfs(struct smb_share *ssp, struct statfs *sbp, 140 struct smb_cred *scred); 141int smbfs_smb_setfsize(struct smbnode *np, int newsize, struct smb_cred *scred); 142 |
143int smbfs_smb_query_info(struct smbnode *np, const char *name, int len, 144 struct smbfattr *fap, struct smb_cred *scred); |
|
143int smbfs_smb_setpattr(struct smbnode *np, u_int16_t attr, 144 struct timespec *mtime, struct smb_cred *scred); 145int smbfs_smb_setptime2(struct smbnode *np, struct timespec *mtime, 146 struct timespec *atime, int attr, struct smb_cred *scred); 147int smbfs_smb_setpattrNT(struct smbnode *np, u_int16_t attr, 148 struct timespec *mtime, struct timespec *atime, struct smb_cred *scred); 149 150int smbfs_smb_setftime(struct smbnode *np, struct timespec *mtime, 151 struct timespec *atime, struct smb_cred *scred); 152int smbfs_smb_setfattrNT(struct smbnode *np, u_int16_t attr, 153 struct timespec *mtime, struct timespec *atime, struct smb_cred *scred); 154 155int smbfs_smb_open(struct smbnode *np, int accmode, struct smb_cred *scred); 156int smbfs_smb_close(struct smb_share *ssp, u_int16_t fid, 157 struct timespec *mtime, struct smb_cred *scred); 158int smbfs_smb_create(struct smbnode *dnp, const char *name, int len, 159 struct smb_cred *scred); 160int smbfs_smb_delete(struct smbnode *np, struct smb_cred *scred); | 145int smbfs_smb_setpattr(struct smbnode *np, u_int16_t attr, 146 struct timespec *mtime, struct smb_cred *scred); 147int smbfs_smb_setptime2(struct smbnode *np, struct timespec *mtime, 148 struct timespec *atime, int attr, struct smb_cred *scred); 149int smbfs_smb_setpattrNT(struct smbnode *np, u_int16_t attr, 150 struct timespec *mtime, struct timespec *atime, struct smb_cred *scred); 151 152int smbfs_smb_setftime(struct smbnode *np, struct timespec *mtime, 153 struct timespec *atime, struct smb_cred *scred); 154int smbfs_smb_setfattrNT(struct smbnode *np, u_int16_t attr, 155 struct timespec *mtime, struct timespec *atime, struct smb_cred *scred); 156 157int smbfs_smb_open(struct smbnode *np, int accmode, struct smb_cred *scred); 158int smbfs_smb_close(struct smb_share *ssp, u_int16_t fid, 159 struct timespec *mtime, struct smb_cred *scred); 160int smbfs_smb_create(struct smbnode *dnp, const char *name, int len, 161 struct smb_cred *scred); 162int smbfs_smb_delete(struct smbnode *np, struct smb_cred *scred); |
163int smbfs_smb_flush(struct smbnode *np, struct smb_cred *scred); |
|
161int smbfs_smb_rename(struct smbnode *src, struct smbnode *tdnp, 162 const char *tname, int tnmlen, struct smb_cred *scred); 163int smbfs_smb_move(struct smbnode *src, struct smbnode *tdnp, 164 const char *tname, int tnmlen, u_int16_t flags, struct smb_cred *scred); 165int smbfs_smb_mkdir(struct smbnode *dnp, const char *name, int len, 166 struct smb_cred *scred); 167int smbfs_smb_rmdir(struct smbnode *np, struct smb_cred *scred); 168int smbfs_findopen(struct smbnode *dnp, const char *wildcard, int wclen, --- 19 unchanged lines hidden --- | 164int smbfs_smb_rename(struct smbnode *src, struct smbnode *tdnp, 165 const char *tname, int tnmlen, struct smb_cred *scred); 166int smbfs_smb_move(struct smbnode *src, struct smbnode *tdnp, 167 const char *tname, int tnmlen, u_int16_t flags, struct smb_cred *scred); 168int smbfs_smb_mkdir(struct smbnode *dnp, const char *name, int len, 169 struct smb_cred *scred); 170int smbfs_smb_rmdir(struct smbnode *np, struct smb_cred *scred); 171int smbfs_findopen(struct smbnode *dnp, const char *wildcard, int wclen, --- 19 unchanged lines hidden --- |