diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-09-12 06:13:25 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-09-12 06:13:25 +0000 |
commit | f1c49ca7ce56bc39259041a71479e84ebf53eeca (patch) | |
tree | dd0c0cf65ffd45f9589654669fdb519abaf82091 /source/include/messages.h | |
parent | 2ebfdd21b3123d7daefeeed4dae6e8bc3a7a7653 (diff) | |
download | samba-f1c49ca7ce56bc39259041a71479e84ebf53eeca.tar.gz samba-f1c49ca7ce56bc39259041a71479e84ebf53eeca.tar.xz samba-f1c49ca7ce56bc39259041a71479e84ebf53eeca.zip |
- changed the msg_type to be an int instead of an enum so that it is
easier to add new message types to messages.h without breaking old
binaries
- added a MSG_FORCE_ELECTION message to force nmbd to hold an election
Diffstat (limited to 'source/include/messages.h')
-rw-r--r-- | source/include/messages.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/include/messages.h b/source/include/messages.h index 4bc4014ca0e..6ab21e74333 100644 --- a/source/include/messages.h +++ b/source/include/messages.h @@ -22,6 +22,11 @@ #ifndef _MESSAGES_H_ #define _MESSAGES_H_ -enum message_type {MSG_DEBUG}; +/* general messages */ +#define MSG_DEBUG 1 +#define MSG_PING 2 + +/* nmbd messages */ +#define MSG_FORCE_ELECTION 1001 #endif |