summaryrefslogtreecommitdiff
path: root/source3/include/smb.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-10-01 06:50:25 +0000
committerJeremy Allison <jra@samba.org>2002-10-01 06:50:25 +0000
commit5567ef53cb65e6100825ea909d9c35e322e65293 (patch)
tree18684eca781cac862db23cb81301208650ce6df2 /source3/include/smb.h
parenta9ccc38c082c3c74050cbbf554cbef027e585fdd (diff)
downloadsamba-5567ef53cb65e6100825ea909d9c35e322e65293.tar.gz
samba-5567ef53cb65e6100825ea909d9c35e322e65293.tar.bz2
samba-5567ef53cb65e6100825ea909d9c35e322e65293.zip
Cope with rw errors and timeout to peer.
Jeremy. (This used to be commit 736a7bab487d7e217eed452e2089adb6b4164ad5)
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r--source3/include/smb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index c39ebed950..f58e3adf54 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -161,6 +161,8 @@ typedef uint16 smb_ucs2_t;
typedef smb_ucs2_t wpstring[PSTRING_LEN];
typedef smb_ucs2_t wfstring[FSTRING_LEN];
+/* This error code can go into the client smb_rw_error. */
+#define WRITE_ERROR 4
#ifdef WORDS_BIGENDIAN
#define UCS2_SHIFT 8