1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/librpc/idl/server_id.idl
Douglas Bagnall 8ed6523b6c Use large enough unsigned values in server_id IDL
This matches what we have in struct server_id.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2015-06-24 06:04:10 +02:00

37 lines
639 B
Plaintext

[
pointer_default(unique)
]
interface server_id
{
/*
* Virtual Node Numbers are identifying a node within a cluster.
* Ctdbd sets this, we retrieve our vnn from it.
*/
const uint32 NONCLUSTER_VNN = 0xFFFFFFFF;
/** Don't verify this unique id */
const hyper SERVERID_UNIQUE_ID_NOT_TO_VERIFY = 0xFFFFFFFFFFFFFFFFULL;
/* used to look like the following, note that unique_id was not
* marshalled at all...
struct server_id {
pid_t pid;
#ifdef CLUSTER_SUPPORT
uint32 vnn;
#endif
uint64_t unique_id;
};
*/
typedef [public] struct {
hyper pid;
uint32 task_id;
uint32 vnn;
hyper unique_id;
} server_id;
}