smb_fsops.h (8c10a8659ac31335ed870a1711c0182623f72fd6) smb_fsops.h (3db3f65c6274eb042354801a308c8e9bc4994553)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 75 unchanged lines hidden (view full) ---

84 char *to_name);
85
86int smb_fsop_setattr(struct smb_request *sr, cred_t *cr, smb_node_t *snode,
87 smb_attr_t *set_attr, smb_attr_t *ret_attr);
88
89int smb_fsop_read(struct smb_request *sr, cred_t *cr,
90 smb_node_t *snode, uio_t *uio, smb_attr_t *ret_attr);
91
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 75 unchanged lines hidden (view full) ---

84 char *to_name);
85
86int smb_fsop_setattr(struct smb_request *sr, cred_t *cr, smb_node_t *snode,
87 smb_attr_t *set_attr, smb_attr_t *ret_attr);
88
89int smb_fsop_read(struct smb_request *sr, cred_t *cr,
90 smb_node_t *snode, uio_t *uio, smb_attr_t *ret_attr);
91
92int smb_fsop_write(struct smb_request *sr, cred_t *cr, smb_node_t *snode,
93 uio_t *uio, uint32_t *lcount, smb_attr_t *ret_attr,
94 uint32_t *stability);
92int smb_fsop_write(smb_request_t *, cred_t *, smb_node_t *, uio_t *,
93 uint32_t *, smb_attr_t *, int);
95
96int smb_fsop_statfs(cred_t *cr, struct smb_node *snode,
97 struct statvfs64 *statp);
98
99int smb_fsop_remove_streams(struct smb_request *sr, cred_t *cr,
100 smb_node_t *fnode);
101
102int smb_fsop_access(smb_request_t *sr, cred_t *cr, smb_node_t *snode,

--- 29 unchanged lines hidden (view full) ---

132
133int smb_fsop_frlock(smb_node_t *, smb_lock_t *, boolean_t, cred_t *);
134
135/*
136 * Lookup-related flags
137 *
138 * SMB_FOLLOW_LINKS Follow symbolic links.
139 * SMB_IGNORE_CASE Perform case-insensitive lookup.
94
95int smb_fsop_statfs(cred_t *cr, struct smb_node *snode,
96 struct statvfs64 *statp);
97
98int smb_fsop_remove_streams(struct smb_request *sr, cred_t *cr,
99 smb_node_t *fnode);
100
101int smb_fsop_access(smb_request_t *sr, cred_t *cr, smb_node_t *snode,

--- 29 unchanged lines hidden (view full) ---

131
132int smb_fsop_frlock(smb_node_t *, smb_lock_t *, boolean_t, cred_t *);
133
134/*
135 * Lookup-related flags
136 *
137 * SMB_FOLLOW_LINKS Follow symbolic links.
138 * SMB_IGNORE_CASE Perform case-insensitive lookup.
140 *
141 * Misc flags
142 *
143 * SMB_STREAM_RDDIR use eflags=0 for streams readdirs this
144 * is currently a workaround because the
145 * vfs isn't filling in this flag
146 */
147
148#define SMB_FOLLOW_LINKS 0x00000001
149#define SMB_IGNORE_CASE 0x00000002
139 */
140
141#define SMB_FOLLOW_LINKS 0x00000001
142#define SMB_IGNORE_CASE 0x00000002
150#define SMB_STREAM_RDDIR 0x00000004
151
152#ifdef __cplusplus
153}
154#endif
155
156#endif /* _SMBSRV_SMB_FSOPS_H */
143
144#ifdef __cplusplus
145}
146#endif
147
148#endif /* _SMBSRV_SMB_FSOPS_H */