param: Use IDL-based constants for NBT and NBT dgram ports
[Samba.git] / source3 / include / ctdb_srvids.h
blob500b5069e67d9ab9cb32cad3160c7f8171e00a5c
1 /*
2 Unix SMB/CIFS implementation.
3 Samba3 ctdb srvid assignments
4 Copyright (C) Volker Lendecke 2012
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>.
21 * ctdb has reserved all srvids starting with 0xFE for Samba. Here we list our
22 * static assignments that are supposed to be globally unique.
26 * ctdb_protocol.h already has the following definition, used in the g_lock
27 * implementation. Waiters for a g_lock register this to receive notifications
28 * when g_lock holders die.
31 #if 0
32 #define CTDB_SRVID_SAMBA_NOTIFY 0xFE00000000000000LL
33 #endif
36 * SRVID for notify_internal.c: On every node, one process registers this
37 * SRVID. It receives filechangenotify notifications and multicasts them
38 * locally according to the non-clustered local notify.tdb
40 #define CTDB_SRVID_SAMBA_NOTIFY_PROXY 0xFE00000000000001LL