summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-05-18 18:34:54 -0700
committerJeremy Allison <jra@samba.org>2010-05-18 18:34:54 -0700
commit572e5dec1bbd4af3ccc4b8bfe56a72ded4c9aa6e (patch)
treef93d57f9b800584d29befa6583ccb828b96847e9 /source3/include
parentc7982074a7ea85219411311ebf31444ea4c501a5 (diff)
downloadsamba-572e5dec1bbd4af3ccc4b8bfe56a72ded4c9aa6e.tar.gz
samba-572e5dec1bbd4af3ccc4b8bfe56a72ded4c9aa6e.tar.bz2
samba-572e5dec1bbd4af3ccc4b8bfe56a72ded4c9aa6e.zip
Implement missing info level SMB_FILE_LINK_INFORMATION.
Fix bug #7435 - SMB2 hardlink fails (invalid level). Found at the Microsoft plugsharing plugfest. Jeremy.
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 154efeb43b..3deeb9fa2f 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -6368,8 +6368,10 @@ void send_trans2_replies(connection_struct *conn,
unsigned char *create_volume_objectid(connection_struct *conn, unsigned char objid[16]);
NTSTATUS hardlink_internals(TALLOC_CTX *ctx,
connection_struct *conn,
+ struct smb_request *req,
+ bool overwrite_if_exists,
const struct smb_filename *smb_fname_old,
- const struct smb_filename *smb_fname_new);
+ struct smb_filename *smb_fname_new);
NTSTATUS smb_set_file_time(connection_struct *conn,
files_struct *fsp,
const struct smb_filename *smb_fname,