summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1997-09-04 20:26:07 +0000
committerJeremy Allison <jra@samba.org>1997-09-04 20:26:07 +0000
commitf5302af621d91536a72b437ae2b80f9dedb46920 (patch)
tree7a72ab4e6d1a1cbff79ea9262b82b8e696203e6f /source3/include
parent82290216ad827c9f8f74ffd3aa6a37dca28174e1 (diff)
downloadsamba-f5302af621d91536a72b437ae2b80f9dedb46920.tar.gz
samba-f5302af621d91536a72b437ae2b80f9dedb46920.tar.bz2
samba-f5302af621d91536a72b437ae2b80f9dedb46920.zip
Fixed up determination of client type for PROTOCOL_NT1. Uses client
capabilities bits in session_setup_and_X to decide. Made remote_arch an enum as well as a string, for easier use. Jeremy (jallison@whistle.com) (This used to be commit 99080705a2d0adcb25e1eecbe517a2fac2779baa)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h2
-rw-r--r--source3/include/smb.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index d1b28c860d..15c9fa590b 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -986,6 +986,8 @@ BOOL fcntl_lock(int fd,int op,uint32 offset,uint32 count,int type);
int file_lock(char *name,int timeout);
void file_unlock(int fd);
BOOL is_myname(const char *s);
+void set_remote_arch(enum remote_arch_types type);
+enum remote_arch_types get_remote_arch();
/*The following definitions come from vt_mode.c */
diff --git a/source3/include/smb.h b/source3/include/smb.h
index f0390230e5..b55c180f36 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -880,6 +880,8 @@ enum security_types {SEC_SHARE,SEC_USER,SEC_SERVER};
enum printing_types {PRINT_BSD,PRINT_SYSV,PRINT_AIX,PRINT_HPUX,
PRINT_QNX,PRINT_PLP,PRINT_LPRNG};
+/* Remote architectures we know about. */
+enum remote_arch_types {RA_UNKNOWN, RA_WFWG, RA_OS2, RA_WIN95, RA_WINNT, RA_SAMBA};
/* case handling */
enum case_handling {CASE_LOWER,CASE_UPPER};