From 1b2b703b378c530c5841ebdc75ce00af250bf9ce Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 31 Mar 2008 11:17:15 +0200 Subject: messaging.idl: add structure to marshall dbwrap_tdb2 changes metze (This used to be commit 46a0d8e872af1ab420705a514c1d7b1b21459f82) --- source3/librpc/idl/messaging.idl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'source3/librpc/idl') 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; } -- cgit