summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-09-04 19:13:06 +0000
committerJeremy Allison <jra@samba.org>2002-09-04 19:13:06 +0000
commita1aafce4dc69b4bc4967ce9b70550ee3ecfab43b (patch)
treecb9d0440971ec41211f7de1dc095b90469961d97 /source3/include
parent65029365ba9e2df821a57173c7532e4cbc7b06e9 (diff)
downloadsamba-a1aafce4dc69b4bc4967ce9b70550ee3ecfab43b.tar.gz
samba-a1aafce4dc69b4bc4967ce9b70550ee3ecfab43b.tar.bz2
samba-a1aafce4dc69b4bc4967ce9b70550ee3ecfab43b.zip
Add bcast_msg_flags to connection struct. Allows sender to filter when
sending broadcast messages. Also initial cut-down of printing notify messages (not yet finished). Jeremy. (This used to be commit aca333719695b278843c59e1c6eb07d6655fd59c)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/local.h4
-rw-r--r--source3/include/messages.h8
-rw-r--r--source3/include/smb.h1
3 files changed, 9 insertions, 4 deletions
diff --git a/source3/include/local.h b/source3/include/local.h
index 15231e92ee..5096e13fc3 100644
--- a/source3/include/local.h
+++ b/source3/include/local.h
@@ -67,10 +67,6 @@
#define MAX_OPEN_FILES 10000
#endif
-/* the max number of simultanous connections to the server by all clients */
-/* zero means no limit. */
-#define MAXSTATUS 0
-
#define WORDMAX 0xFFFF
/* the maximum password length before we declare a likely attack */
diff --git a/source3/include/messages.h b/source3/include/messages.h
index 58e606b40f..0e995039ff 100644
--- a/source3/include/messages.h
+++ b/source3/include/messages.h
@@ -59,4 +59,12 @@
#define MSG_SMB_SAM_SYNC 3003
#define MSG_SMB_SAM_REPL 3004
+/* Flags to classify messages - used in message_send_all() */
+/* Sender will filter by flag. */
+
+#define FLAG_MSG_GENERAL 0x0001
+#define FLAG_MSG_SMBD 0x0002
+#define FLAG_MSG_NMBD 0x0004
+#define FLAG_MSG_PRINTING 0x0008
+
#endif
diff --git a/source3/include/smb.h b/source3/include/smb.h
index f2eb37096c..909c1a57ec 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -718,6 +718,7 @@ struct connections_data {
char addr[24];
char machine[FSTRING_LEN];
time_t start;
+ uint32 bcast_msg_flags;
};