414e05a190f01eaced7ebd7ad660794e45f34b25
[samba.git] / librpc / idl / server_id.idl
1 [
2         pointer_default(unique)
3 ]
4 interface server_id
5 {
6
7         /*
8          * Virtual Node Numbers are identifying a node within a cluster.
9          * Ctdbd sets this, we retrieve our vnn from it.
10          */
11
12         const int NONCLUSTER_VNN = 0xFFFFFFFF;
13
14         /* used to look like the following, note that unique_id was not
15          * marshalled at all...
16
17         struct server_id {
18                 pid_t pid;
19         #ifdef CLUSTER_SUPPORT
20                 uint32 vnn;
21         #endif
22                 uint64_t unique_id;
23         };
24
25         */
26
27         typedef [public] struct {
28                 hyper pid;
29                 uint32 task_id;
30                 uint32 vnn;
31                 udlong unique_id;
32         } server_id;
33 }