summaryrefslogtreecommitdiffstats
path: root/daemons/controld/controld_membership.h
blob: cfe8cee95194fb7a47620b0717dd1915ac8e732b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * Copyright 2012-2021 the Pacemaker project contributors
 *
 * The version control history for this file may have further details.
 *
 * This source code is licensed under the GNU Lesser General Public License
 * version 2.1 or later (LGPLv2.1+) WITHOUT ANY WARRANTY.
 */
#ifndef MEMBERSHIP__H
#  define MEMBERSHIP__H

#ifdef __cplusplus
extern "C" {
#endif

#include <crm/cluster/internal.h>

void post_cache_update(int instance);

extern gboolean check_join_state(enum crmd_fsa_state cur_state, const char *source);

void controld_destroy_failed_sync_table(void);
void controld_remove_failed_sync_node(const char *node_name);

#ifdef __cplusplus
}
#endif

#endif