summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-03-11 01:08:10 +0000
committerJeremy Allison <jra@samba.org>2001-03-11 01:08:10 +0000
commit1f467d320036acae2c392619f84874894a4715a9 (patch)
tree3e3f9431fc58f082886da51751a2f3f0b3b0ada6 /source3
parenta2e5dbb1120e726ba80b00a159dad1a1ca2e3a18 (diff)
downloadsamba-1f467d320036acae2c392619f84874894a4715a9.tar.gz
samba-1f467d320036acae2c392619f84874894a4715a9.tar.bz2
samba-1f467d320036acae2c392619f84874894a4715a9.zip
Sync include files between 2.2 and HEAD except for acoount info.
Jeremy. (This used to be commit 73c7ace168e4aa6a47b366cf40ed6743a21d3638)
Diffstat (limited to 'source3')
-rw-r--r--source3/include/smb.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 9b2d0ee5f9..ab1cd60f66 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -262,7 +262,7 @@ implemented */
#ifndef _PSTRING
#define PSTRING_LEN 1024
-#define FSTRING_LEN 128
+#define FSTRING_LEN 256
typedef char pstring[PSTRING_LEN];
typedef char fstring[FSTRING_LEN];
@@ -278,8 +278,8 @@ typedef char fstring[FSTRING_LEN];
typedef uint16 smb_ucs2_t;
/* ucs2 string types. */
-typedef smb_ucs2_t wpstring[1024];
-typedef smb_ucs2_t wfstring[128];
+typedef smb_ucs2_t wpstring[PSTRING_LEN];
+typedef smb_ucs2_t wfstring[FSTRING_LEN];
/* pipe string names */
#define PIPE_LANMAN "\\PIPE\\LANMAN"
@@ -734,7 +734,7 @@ struct connections_data {
gid_t gid;
char name[24];
char addr[24];
- char machine[128];
+ char machine[FSTRING_LEN];
time_t start;
};