1 /* 2 * Copyright (C) 2004 Andrew Beekhof <andrew@beekhof.net> 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU Lesser General Public 6 * License as published by the Free Software Foundation; either 7 * version 2 of the License, or (at your option) any later version. 8 * 9 * This software is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * General Public License for more details. 13 * 14 * You should have received a copy of the GNU Lesser General Public 15 * License along with this library; if not, write to the Free Software 16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 */ 18 19 #include <crm/cluster.h> 20 21 extern void crmd_ha_msg_filter(xmlNode * msg); 22 23 /* 24 * Apparently returning TRUE means "stay connected, keep doing stuff". 25 * Returning FALSE means "we're all done, close the connection" 26 */ 27 28 extern void crmd_ipc_connection_destroy(gpointer user_data); 29 30 extern void crmd_ha_status_callback(const char *node, const char *status, void *private_data); 31 32 extern void crmd_client_status_callback(const char *node, const char *client, const char *status, 33 void *private); 34 35 extern void msg_ccm_join(const xmlNode * msg, void *foo); 36 37 extern void crmd_cib_connection_destroy(gpointer user_data); 38 39 extern gboolean crm_fsa_trigger(gpointer user_data); 40 41 extern void peer_update_callback(enum crm_status_type type, crm_node_t * node, const void *data); 42 43 #if SUPPORT_HEARTBEAT 44 void crmd_ha_msg_callback(HA_Message * hamsg, void *private_data); 45 #endif