summaryrefslogtreecommitdiff
path: root/source3/librpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-03-31 11:17:15 +0200
committerStefan Metzmacher <metze@samba.org>2008-04-12 09:14:08 +0200
commit1b2b703b378c530c5841ebdc75ce00af250bf9ce (patch)
tree8910ba9962b9c20d77861bdccfd7d941b0ba1c01 /source3/librpc
parent3ae463ca69d5f56e060964c1cff86d5c3203391d (diff)
downloadsamba-1b2b703b378c530c5841ebdc75ce00af250bf9ce.tar.gz
samba-1b2b703b378c530c5841ebdc75ce00af250bf9ce.tar.bz2
samba-1b2b703b378c530c5841ebdc75ce00af250bf9ce.zip
messaging.idl: add structure to marshall dbwrap_tdb2 changes
metze (This used to be commit 46a0d8e872af1ab420705a514c1d7b1b21459f82)
Diffstat (limited to 'source3/librpc')
-rw-r--r--source3/librpc/idl/messaging.idl15
1 files changed, 15 insertions, 0 deletions
diff --git a/source3/librpc/idl/messaging.idl b/source3/librpc/idl/messaging.idl
index b1158ca189..ad9d7106d0 100644
--- a/source3/librpc/idl/messaging.idl
+++ b/source3/librpc/idl/messaging.idl
@@ -23,4 +23,19 @@ interface messaging
uint32 num_messages;
messaging_rec messages[num_messages];
} messaging_array;
+
+ /*
+ * struct used for change notify messages
+ * in the dbwrap_tdb2 code
+ */
+ typedef [public] struct {
+ [charset(DOS),value("TDB2")] uint8 magic_string[4];
+ [value(1)] uint32 magic_version;
+ [charset(UTF8),string] uint8 name[];
+ uint32 old_seqnum;
+ uint32 new_seqnum;
+ uint32 num_changes;
+ uint32 num_keys;
+ DATA_BLOB keys[num_keys];
+ } dbwrap_tdb2_changes;
}