mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
b36e5ae838
This makes it consistent to pid. metze
34 lines
528 B
Plaintext
34 lines
528 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 int NONCLUSTER_VNN = 0xFFFFFFFF;
|
|
|
|
/* 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;
|
|
}
|