pidl:NDR/Parser: correctly set $ndr->[relative_highest_]offset for relative_short...
[Samba/gebeck_regimport.git] / librpc / idl / server_id.idl
blob554e428bf2b567146f15f3c299f9b6b5078c172e
2 pointer_default(unique)
4 interface server_id
7 /*
8 * Virtual Node Numbers are identifying a node within a cluster.
9 * Ctdbd sets this, we retrieve our vnn from it.
12 const int NONCLUSTER_VNN = 0xFFFFFFFF;
14 /** Don't verify this unique id */
15 const int SERVERID_UNIQUE_ID_NOT_TO_VERIFY = 0xFFFFFFFFFFFFFFFFULL;
17 /* used to look like the following, note that unique_id was not
18 * marshalled at all...
20 struct server_id {
21 pid_t pid;
22 #ifdef CLUSTER_SUPPORT
23 uint32 vnn;
24 #endif
25 uint64_t unique_id;
30 typedef [public] struct {
31 hyper pid;
32 uint32 task_id;
33 uint32 vnn;
34 hyper unique_id;
35 } server_id;