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,
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
68 { __donnot_use_enum_messaging_type
=0x7FFFFFFF}
69 #define MSG_DEBUG ( 0x0001 )
70 #define MSG_PING ( 0x0002 )
71 #define MSG_PONG ( 0x0003 )
72 #define MSG_PROFILE ( 0x0004 )
73 #define MSG_REQ_DEBUGLEVEL ( 0x0005 )
74 #define MSG_DEBUGLEVEL ( 0x0006 )
75 #define MSG_REQ_PROFILELEVEL ( 0x0007 )
76 #define MSG_PROFILELEVEL ( 0x0008 )
77 #define MSG_REQ_POOL_USAGE ( 0x0009 )
78 #define MSG_POOL_USAGE ( 0x000A )
79 #define MSG_REQ_DMALLOC_MARK ( 0x000B )
80 #define MSG_REQ_DMALLOC_LOG_CHANGED ( 0x000C )
81 #define MSG_SHUTDOWN ( 0x000D )
82 #define MSG_FORCE_ELECTION ( 0x0101 )
83 #define MSG_WINS_NEW_ENTRY ( 0x0102 )
84 #define MSG_SEND_PACKET ( 0x0103 )
85 #define MSG_PRINTER_NOTIFY ( 0x2001 )
86 #define MSG_PRINTER_NOTIFY2 ( 0x0202 )
87 #define MSG_PRINTER_DRVUPGRADE ( 0x0203 )
88 #define MSG_PRINTERDATA_INIT_RESET ( 0x0204 )
89 #define MSG_PRINTER_UPDATE ( 0x0205 )
90 #define MSG_PRINTER_MOD ( 0x0206 )
91 #define MSG_SMB_CONF_UPDATED ( 0x0301 )
92 #define MSG_SMB_FORCE_TDIS ( 0x0302 )
93 #define MSG_SMB_SAM_SYNC ( 0x0303 )
94 #define MSG_SMB_SAM_REPL ( 0x0304 )
95 #define MSG_SMB_UNLOCK ( 0x0305 )
96 #define MSG_SMB_BREAK_REQUEST ( 0x0306 )
97 #define MSG_SMB_BREAK_RESPONSE ( 0x0307 )
98 #define MSG_SMB_ASYNC_LEVEL2_BREAK ( 0x0308 )
99 #define MSG_SMB_OPEN_RETRY ( 0x0309 )
100 #define MSG_SMB_KERNEL_BREAK ( 0x030A )
101 #define MSG_SMB_FILE_RENAME ( 0x030B )
102 #define MSG_SMB_INJECT_FAULT ( 0x030C )
103 #define MSG_SMB_BLOCKING_LOCK_CANCEL ( 0x030D )
104 #define MSG_SMB_NOTIFY ( 0x030E )
105 #define MSG_SMB_STAT_CACHE_DELETE ( 0x030F )
106 #define MSG_PVFS_NOTIFY ( 0x0310 )
107 #define MSG_SMB_BRL_VALIDATE ( 0x0311 )
108 #define MSG_SMB_RELEASE_IP ( 0x0312 )
109 #define MSG_SMB_CLOSE_FILE ( 0x0313 )
110 #define MSG_WINBIND_FINISHED ( 0x0401 )
111 #define MSG_WINBIND_FORGET_STATE ( 0x0402 )
112 #define MSG_WINBIND_ONLINE ( 0x0403 )
113 #define MSG_WINBIND_OFFLINE ( 0x0404 )
114 #define MSG_WINBIND_ONLINESTATUS ( 0x0405 )
115 #define MSG_WINBIND_TRY_TO_GO_ONLINE ( 0x0406 )
116 #define MSG_WINBIND_FAILED_TO_GO_ONLINE ( 0x0407 )
117 #define MSG_WINBIND_VALIDATE_CACHE ( 0x0408 )
118 #define MSG_WINBIND_DUMP_DOMAIN_LIST ( 0x0409 )
119 #define MSG_DUMP_EVENT_LIST ( 0x0500 )
120 #define MSG_DBWRAP_TDB2_CHANGES ( 4001 )
124 struct messaging_rec
{
125 uint32_t msg_version
;
126 enum messaging_type msg_type
;
127 struct server_id dest
;
128 struct server_id src
;
132 struct messaging_array
{
133 uint32_t num_messages
;
134 struct messaging_rec
*messages
;
137 struct dbwrap_tdb2_changes
{
138 const char *magic_string
;/* [value("TDB2"),charset(DOS)] */
139 uint32_t magic_version
;/* [value] */
140 const char *name
;/* [charset(UTF8)] */
143 uint32_t num_changes
;
148 #endif /* _HEADER_messaging */