source: branches/samba-3.3.x/source/librpc/gen_ndr/messaging.h

Last change on this file was 206, checked in by Herwig Bauernfeind, 16 years ago

Import Samba 3.3 branch at 3.0.0 level (psmedley's port)

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