1 /* header auto-generated by pidl */
5 #include "libcli/util/ntstatus.h"
7 #ifndef _HEADER_messaging
8 #define _HEADER_messaging
10 #define MSG_TYPE_MASK ( 0xFFFF )
12 #ifndef USE_UINT_ENUMS
14 MSG_DEBUG
=(int)(0x0001),
15 MSG_PING
=(int)(0x0002),
16 MSG_PONG
=(int)(0x0003),
17 MSG_PROFILE
=(int)(0x0004),
18 MSG_REQ_DEBUGLEVEL
=(int)(0x0005),
19 MSG_DEBUGLEVEL
=(int)(0x0006),
20 MSG_REQ_PROFILELEVEL
=(int)(0x0007),
21 MSG_PROFILELEVEL
=(int)(0x0008),
22 MSG_REQ_POOL_USAGE
=(int)(0x0009),
23 MSG_POOL_USAGE
=(int)(0x000A),
24 MSG_REQ_DMALLOC_MARK
=(int)(0x000B),
25 MSG_REQ_DMALLOC_LOG_CHANGED
=(int)(0x000C),
26 MSG_SHUTDOWN
=(int)(0x000D),
27 MSG_FORCE_ELECTION
=(int)(0x0101),
28 MSG_WINS_NEW_ENTRY
=(int)(0x0102),
29 MSG_SEND_PACKET
=(int)(0x0103),
30 MSG_PRINTER_NOTIFY
=(int)(0x2001),
31 MSG_PRINTER_NOTIFY2
=(int)(0x0202),
32 MSG_PRINTER_DRVUPGRADE
=(int)(0x0203),
33 MSG_PRINTERDATA_INIT_RESET
=(int)(0x0204),
34 MSG_PRINTER_UPDATE
=(int)(0x0205),
35 MSG_PRINTER_MOD
=(int)(0x0206),
36 MSG_SMB_CONF_UPDATED
=(int)(0x0301),
37 MSG_SMB_FORCE_TDIS
=(int)(0x0302),
38 MSG_SMB_SAM_SYNC
=(int)(0x0303),
39 MSG_SMB_SAM_REPL
=(int)(0x0304),
40 MSG_SMB_UNLOCK
=(int)(0x0305),
41 MSG_SMB_BREAK_REQUEST
=(int)(0x0306),
42 MSG_SMB_BREAK_RESPONSE
=(int)(0x0307),
43 MSG_SMB_ASYNC_LEVEL2_BREAK
=(int)(0x0308),
44 MSG_SMB_OPEN_RETRY
=(int)(0x0309),
45 MSG_SMB_KERNEL_BREAK
=(int)(0x030A),
46 MSG_SMB_FILE_RENAME
=(int)(0x030B),
47 MSG_SMB_INJECT_FAULT
=(int)(0x030C),
48 MSG_SMB_BLOCKING_LOCK_CANCEL
=(int)(0x030D),
49 MSG_SMB_NOTIFY
=(int)(0x030E),
50 MSG_SMB_STAT_CACHE_DELETE
=(int)(0x030F),
51 MSG_PVFS_NOTIFY
=(int)(0x0310),
52 MSG_SMB_BRL_VALIDATE
=(int)(0x0311),
53 MSG_SMB_RELEASE_IP
=(int)(0x0312),
54 MSG_SMB_CLOSE_FILE
=(int)(0x0313),
55 MSG_WINBIND_FINISHED
=(int)(0x0401),
56 MSG_WINBIND_FORGET_STATE
=(int)(0x0402),
57 MSG_WINBIND_ONLINE
=(int)(0x0403),
58 MSG_WINBIND_OFFLINE
=(int)(0x0404),
59 MSG_WINBIND_ONLINESTATUS
=(int)(0x0405),
60 MSG_WINBIND_TRY_TO_GO_ONLINE
=(int)(0x0406),
61 MSG_WINBIND_FAILED_TO_GO_ONLINE
=(int)(0x0407),
62 MSG_WINBIND_VALIDATE_CACHE
=(int)(0x0408),
63 MSG_WINBIND_DUMP_DOMAIN_LIST
=(int)(0x0409),
64 MSG_DUMP_EVENT_LIST
=(int)(0x0500),
65 MSG_DBWRAP_TDB2_CHANGES
=(int)(4001),
66 MSG_DBWRAP_G_LOCK_RETRY
=(int)(4002)
69 { __donnot_use_enum_messaging_type
=0x7FFFFFFF}
70 #define MSG_DEBUG ( 0x0001 )
71 #define MSG_PING ( 0x0002 )
72 #define MSG_PONG ( 0x0003 )
73 #define MSG_PROFILE ( 0x0004 )
74 #define MSG_REQ_DEBUGLEVEL ( 0x0005 )
75 #define MSG_DEBUGLEVEL ( 0x0006 )
76 #define MSG_REQ_PROFILELEVEL ( 0x0007 )
77 #define MSG_PROFILELEVEL ( 0x0008 )
78 #define MSG_REQ_POOL_USAGE ( 0x0009 )
79 #define MSG_POOL_USAGE ( 0x000A )
80 #define MSG_REQ_DMALLOC_MARK ( 0x000B )
81 #define MSG_REQ_DMALLOC_LOG_CHANGED ( 0x000C )
82 #define MSG_SHUTDOWN ( 0x000D )
83 #define MSG_FORCE_ELECTION ( 0x0101 )
84 #define MSG_WINS_NEW_ENTRY ( 0x0102 )
85 #define MSG_SEND_PACKET ( 0x0103 )
86 #define MSG_PRINTER_NOTIFY ( 0x2001 )
87 #define MSG_PRINTER_NOTIFY2 ( 0x0202 )
88 #define MSG_PRINTER_DRVUPGRADE ( 0x0203 )
89 #define MSG_PRINTERDATA_INIT_RESET ( 0x0204 )
90 #define MSG_PRINTER_UPDATE ( 0x0205 )
91 #define MSG_PRINTER_MOD ( 0x0206 )
92 #define MSG_SMB_CONF_UPDATED ( 0x0301 )
93 #define MSG_SMB_FORCE_TDIS ( 0x0302 )
94 #define MSG_SMB_SAM_SYNC ( 0x0303 )
95 #define MSG_SMB_SAM_REPL ( 0x0304 )
96 #define MSG_SMB_UNLOCK ( 0x0305 )
97 #define MSG_SMB_BREAK_REQUEST ( 0x0306 )
98 #define MSG_SMB_BREAK_RESPONSE ( 0x0307 )
99 #define MSG_SMB_ASYNC_LEVEL2_BREAK ( 0x0308 )
100 #define MSG_SMB_OPEN_RETRY ( 0x0309 )
101 #define MSG_SMB_KERNEL_BREAK ( 0x030A )
102 #define MSG_SMB_FILE_RENAME ( 0x030B )
103 #define MSG_SMB_INJECT_FAULT ( 0x030C )
104 #define MSG_SMB_BLOCKING_LOCK_CANCEL ( 0x030D )
105 #define MSG_SMB_NOTIFY ( 0x030E )
106 #define MSG_SMB_STAT_CACHE_DELETE ( 0x030F )
107 #define MSG_PVFS_NOTIFY ( 0x0310 )
108 #define MSG_SMB_BRL_VALIDATE ( 0x0311 )
109 #define MSG_SMB_RELEASE_IP ( 0x0312 )
110 #define MSG_SMB_CLOSE_FILE ( 0x0313 )
111 #define MSG_WINBIND_FINISHED ( 0x0401 )
112 #define MSG_WINBIND_FORGET_STATE ( 0x0402 )
113 #define MSG_WINBIND_ONLINE ( 0x0403 )
114 #define MSG_WINBIND_OFFLINE ( 0x0404 )
115 #define MSG_WINBIND_ONLINESTATUS ( 0x0405 )
116 #define MSG_WINBIND_TRY_TO_GO_ONLINE ( 0x0406 )
117 #define MSG_WINBIND_FAILED_TO_GO_ONLINE ( 0x0407 )
118 #define MSG_WINBIND_VALIDATE_CACHE ( 0x0408 )
119 #define MSG_WINBIND_DUMP_DOMAIN_LIST ( 0x0409 )
120 #define MSG_DUMP_EVENT_LIST ( 0x0500 )
121 #define MSG_DBWRAP_TDB2_CHANGES ( 4001 )
122 #define MSG_DBWRAP_G_LOCK_RETRY ( 4002 )
126 struct messaging_rec
{
127 uint32_t msg_version
;
128 enum messaging_type msg_type
;
129 struct server_id dest
;
130 struct server_id src
;
134 struct messaging_array
{
135 uint32_t num_messages
;
136 struct messaging_rec
*messages
;
139 struct dbwrap_tdb2_changes
{
140 const char *magic_string
;/* [value("TDB2"),charset(DOS)] */
141 uint32_t magic_version
;/* [value] */
142 const char *name
;/* [charset(UTF8)] */
145 uint32_t num_changes
;
150 #endif /* _HEADER_messaging */