Add two more memory-debug smbcontrol messages: these ones should
[gd/samba/.git] / source3 / include / messages.h
1 /* 
2    Unix SMB/Netbios implementation.
3    Version 3.0
4    messages.c header
5    Copyright (C) Andrew Tridgell 2000
6    Copyright (C) 2001, 2002 by Martin Pool
7    
8    This program is free software; you can redistribute it and/or modify
9    it under the terms of the GNU General Public License as published by
10    the Free Software Foundation; either version 2 of the License, or
11    (at your option) any later version.
12    
13    This program is distributed in the hope that it will be useful,
14    but WITHOUT ANY WARRANTY; without even the implied warranty of
15    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16    GNU General Public License for more details.
17    
18    You should have received a copy of the GNU General Public License
19    along with this program; if not, write to the Free Software
20    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 */
22
23 #ifndef _MESSAGES_H_
24 #define _MESSAGES_H_
25
26 /* general messages */
27 #define MSG_DEBUG               1
28 #define MSG_PING                2
29 #define MSG_PONG                3
30 #define MSG_PROFILE             4
31 #define MSG_REQ_DEBUGLEVEL      5
32 #define MSG_DEBUGLEVEL          6
33 #define MSG_REQ_PROFILELEVEL    7
34 #define MSG_PROFILELEVEL        8
35 #define MSG_REQ_POOL_USAGE      9
36 #define MSG_POOL_USAGE          10
37
38 /* If dmalloc is included, set a steady-state mark */
39 #define MSG_REQ_DMALLOC_MARK    11
40
41 /* If dmalloc is included, dump to the dmalloc log a description of
42  * what has changed since the last MARK */
43 #define MSG_REQ_DMALLOC_LOG_CHANGED     12
44
45 /* nmbd messages */
46 #define MSG_FORCE_ELECTION 1001
47
48 /* rpc messages */
49 #define MSG_PRINTER_NOTIFY 2001
50 #define MSG_PRINTER_UPDATE 2002
51
52 /* smbd messages */
53 #define MSG_SMB_CONF_UPDATED 3001
54 #define MSG_SMB_FORCE_TDIS   3002
55 #define MSG_SMB_SAM_SYNC     3003
56 #define MSG_SMB_SAM_REPL     3004
57
58 #endif