diff options
author | Samba Release Account <samba-bugs@samba.org> | 1997-07-30 19:17:51 +0000 |
---|---|---|
committer | Samba Release Account <samba-bugs@samba.org> | 1997-07-30 19:17:51 +0000 |
commit | 9fbca2594ba775450d5dca13cbce257b4362ca66 (patch) | |
tree | a4d4c8a185359514e321a26cb231bcf5441fc4fe /source/include | |
parent | 632bf0dab06bccd082a9fc64a62ff7c99982d2b6 (diff) | |
download | samba-9fbca2594ba775450d5dca13cbce257b4362ca66.tar.gz |
client.c: Minor change to cast parameters for DEC unix.
clientutil.c: Minor change to cast parameters for DEC unix.
ipc.c: Fixes to parameterise the stuff John wants.
loadparm.c: Fixes to parameterise the stuff John wants.
nameannounce.c: Fixes to parameterise the stuff John wants.
namedbwork.c: Fixes to parameterise the stuff John wants.
nameserv.h: Fixes to parameterise the stuff John wants.
proto.h: Fixes to parameterise the stuff John wants.
smb.h: Fixes to parameterise the stuff John wants.
util.c: tidy.
Jeremy (jallison@whistle.com)
Diffstat (limited to 'source/include')
-rw-r--r-- | source/include/nameserv.h | 9 | ||||
-rw-r--r-- | source/include/proto.h | 3 | ||||
-rw-r--r-- | source/include/smb.h | 4 |
3 files changed, 9 insertions, 7 deletions
diff --git a/source/include/nameserv.h b/source/include/nameserv.h index 8482fa8d2c6..83f3a3c5246 100644 --- a/source/include/nameserv.h +++ b/source/include/nameserv.h @@ -408,11 +408,10 @@ struct packet_struct /* do all remote announcements this often */ #define REMOTE_ANNOUNCE_INTERVAL 180 -#define DFLT_SERVER_TYPE (SV_TYPE_WORKSTATION | SV_TYPE_SERVER | \ - (lp_time_server() ? SV_TYPE_TIME_SOURCE : 0) | \ - SV_TYPE_SERVER_UNIX | \ - SV_TYPE_PRINTQ_SERVER | SV_TYPE_SERVER_NT | \ - SV_TYPE_NT ) +/* Types of machine we can announce as */ +#define ANNOUNCE_AS_NT 1 +#define ANNOUNCE_AS_WIN95 2 +#define ANNOUNCE_AS_WFW 3 /* Macro's to enumerate subnets either with or without the WINS subnet. */ diff --git a/source/include/proto.h b/source/include/proto.h index 4b7b48f50b6..23f7f191fb8 100644 --- a/source/include/proto.h +++ b/source/include/proto.h @@ -267,6 +267,9 @@ BOOL lp_load(char *pszFname,BOOL global_only); int lp_numservices(void); void lp_dump(void); int lp_servicenumber(char *pszServiceName); +int lp_default_server_announce(void); +int lp_major_announce_version(void); +int lp_minor_announce_version(void); char *volume_label(int snum); /*The following definitions come from locking.c */ diff --git a/source/include/smb.h b/source/include/smb.h index c7ff549fe58..2b6888b8a7f 100644 --- a/source/include/smb.h +++ b/source/include/smb.h @@ -844,8 +844,8 @@ char *Strstr(char *s, char *p); /* - Reappeared in 1.9.16p11 with fixed smbd services */ /* Version 4.20 - To indicate that nmbd and browsing now works better */ -#define MAJOR_VERSION 0x04 -#define MINOR_VERSION 0x02 +#define DEFAULT_MAJOR_VERSION 0x04 +#define DEFAULT_MINOR_VERSION 0x02 /* Browser Election Values */ #define BROWSER_ELECTION_VERSION 0x010f |