root/daemons/controld/controld_alerts.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 /*
   2  * Copyright 2015-2024 the Pacemaker project contributors
   3  *
   4  * The version control history for this file may have further details.
   5  *
   6  * This source code is licensed under the GNU Lesser General Public License
   7  * version 2.1 or later (LGPLv2.1+) WITHOUT ANY WARRANTY.
   8  */
   9 
  10 #ifndef CONTROLD_ALERTS__H
  11 #define CONTROLD_ALERTS__H
  12 
  13 #include <libxml/tree.h>            // xmlNode
  14 
  15 #include <crm/cluster/internal.h>   // pcmk__node_status_t
  16 #include <crm/lrmd_events.h>        // lrmd_event_data_t
  17 #include <crm/stonith-ng.h>         // stonith_event_t
  18 
  19 void crmd_unpack_alerts(xmlNode *alerts);
  20 void crmd_alert_node_event(pcmk__node_status_t *node);
  21 void crmd_alert_fencing_op(stonith_event_t *e);
  22 void crmd_alert_resource_op(const char *node, lrmd_event_data_t *op);
  23 
  24 #endif

/* [previous][next][first][last][top][bottom][index][help] */