root/include/pcmki/pcmki_sched_notif.h

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

INCLUDED FROM


   1 /*
   2  * Copyright 2004-2020 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 #ifndef CRM_PE_NOTIF__H
  10 #  define CRM_PE_NOTIF__H
  11 
  12 #  include <crm/pengine/internal.h>
  13 
  14 notify_data_t * create_notification_boundaries(pe_resource_t *rsc,
  15                                                const char *action,
  16                                                pe_action_t *start, pe_action_t *end,
  17                                                pe_working_set_t *data_set);
  18 
  19 void collect_notification_data(pe_resource_t *rsc, gboolean state,
  20                                gboolean activity, notify_data_t *n_data);
  21 
  22 void pcmk__create_notification_keys(pe_resource_t *rsc, notify_data_t *n_data,
  23                                     pe_working_set_t *data_set);
  24 
  25 void create_notifications(pe_resource_t *rsc, notify_data_t *n_data,
  26                           pe_working_set_t *data_set);
  27 
  28 void free_notification_data(notify_data_t *n_data);
  29 
  30 void create_secondary_notification(pe_action_t *action, pe_resource_t *rsc,
  31                                    pe_action_t *stonith_op,
  32                                    pe_working_set_t *data_set);
  33 
  34 #endif /* CRM_PE_NOTIF__H */

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