Line | |
---|
1 | #include "idl_types.h"
|
---|
2 |
|
---|
3 | /*
|
---|
4 | IDL structures for messaging code
|
---|
5 | */
|
---|
6 |
|
---|
7 | [
|
---|
8 | pointer_default(unique)
|
---|
9 | ]
|
---|
10 | interface messaging
|
---|
11 | {
|
---|
12 | /* messaging struct sent across the sockets and stored in the tdb */
|
---|
13 |
|
---|
14 | typedef [public] struct {
|
---|
15 | uint32 msg_version;
|
---|
16 | uint32 msg_type;
|
---|
17 | server_id dest;
|
---|
18 | server_id src;
|
---|
19 | DATA_BLOB buf;
|
---|
20 | } messaging_rec;
|
---|
21 |
|
---|
22 | typedef [public] struct {
|
---|
23 | uint32 num_messages;
|
---|
24 | messaging_rec messages[num_messages];
|
---|
25 | } messaging_array;
|
---|
26 |
|
---|
27 | /*
|
---|
28 | * struct used for change notify messages
|
---|
29 | * in the dbwrap_tdb2 code
|
---|
30 | */
|
---|
31 | typedef [public] struct {
|
---|
32 | [charset(DOS),value("TDB2")] uint8 magic_string[4];
|
---|
33 | [value(1)] uint32 magic_version;
|
---|
34 | [charset(UTF8),string] uint8 name[];
|
---|
35 | uint32 old_seqnum;
|
---|
36 | uint32 new_seqnum;
|
---|
37 | uint32 num_changes;
|
---|
38 | uint32 num_keys;
|
---|
39 | DATA_BLOB keys[num_keys];
|
---|
40 | } dbwrap_tdb2_changes;
|
---|
41 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.