summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-11-18 06:29:05 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:24 -0500
commit76bfa038154ad04940391668c2561e1fa404f574 (patch)
treee557d1f44d209022b7f872d1400a0d6ad973bf24
parent2ff21db535897eb2a4eae428b7465337bd7cfdd1 (diff)
downloadsamba-76bfa038154ad04940391668c2561e1fa404f574.tar.gz
samba-76bfa038154ad04940391668c2561e1fa404f574.tar.bz2
samba-76bfa038154ad04940391668c2561e1fa404f574.zip
r11772: - setfileinfo needs a smb2_handle for SMB2 support
- added smb2_setinfo to structs.h (This used to be commit 5be1d334760b8422b65758d1891f9fe29185a244)
-rw-r--r--source4/include/smb_interfaces.h1
-rw-r--r--source4/include/structs.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/source4/include/smb_interfaces.h b/source4/include/smb_interfaces.h
index c6635251a2..ed01a014c2 100644
--- a/source4/include/smb_interfaces.h
+++ b/source4/include/smb_interfaces.h
@@ -766,6 +766,7 @@ union smb_setfileinfo {
union setfileinfo_file {
const char *fname;
uint16_t fnum;
+ struct smb2_handle handle; /* only for SMB2 */
} file;
} generic;
diff --git a/source4/include/structs.h b/source4/include/structs.h
index 1aa7ad6753..7a546f9056 100644
--- a/source4/include/structs.h
+++ b/source4/include/structs.h
@@ -346,6 +346,7 @@ struct smb2_tree_connect;
struct smb2_create;
struct smb2_close;
struct smb2_getinfo;
+struct smb2_setinfo;
struct smb2_read;
struct smb2_write;
struct smb2_handle;