summaryrefslogtreecommitdiff
path: root/source3/librpc/idl/messaging.idl
blob: b1158ca189b1db489190a7b8df5e4ef1af1dde47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include "idl_types.h"

/*
   IDL structures for messaging code
*/

[
  pointer_default(unique)
]
interface messaging
{
	/* messaging struct sent across the sockets and stored in the tdb */

	typedef [public] struct {
		uint32 msg_version;
		uint32 msg_type;
		server_id dest;
		server_id src;
		DATA_BLOB buf;
	} messaging_rec;

	typedef [public] struct {
		uint32 num_messages;
		messaging_rec messages[num_messages];
	} messaging_array;
}