mirror of
https://github.com/samba-team/samba.git
synced 2024-12-31 17:18:04 +03:00
ac3f08ddbe
doing this because for the clustering the marshalling is needed in more
than one place, so I wanted a decent routine to marshall a message_rec
struct which was not there before.
Tridge, this seems about the same speed as it used to be before, the
librpc/ndr overhead in my tests was under the noise.
Volker
(This used to be commit eaefd00563
)
22 lines
389 B
C
22 lines
389 B
C
/* header auto-generated by pidl */
|
|
|
|
#include <stdint.h>
|
|
|
|
#ifndef _HEADER_messaging
|
|
#define _HEADER_messaging
|
|
|
|
struct messaging_rec {
|
|
uint32_t msg_version;
|
|
uint32_t msg_type;
|
|
struct server_id dest;
|
|
struct server_id src;
|
|
DATA_BLOB buf;
|
|
}/* [public] */;
|
|
|
|
struct messaging_array {
|
|
uint32_t num_messages;
|
|
struct messaging_rec *messages;
|
|
}/* [public] */;
|
|
|
|
#endif /* _HEADER_messaging */
|