root/pengine/notif.h

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

INCLUDED FROM


   1 /*
   2  * Copyright (C) 2004-2016 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 #ifndef CRM_PE_NOTIF__H
  19 #  define CRM_PE_NOTIF__H
  20 
  21 #  include <crm/pengine/internal.h>
  22 
  23 notify_data_t * create_notification_boundaries(resource_t *rsc,
  24                                                const char *action,
  25                                                action_t *start, action_t *end,
  26                                                pe_working_set_t *data_set);
  27 
  28 void collect_notification_data(resource_t *rsc, gboolean state,
  29                                gboolean activity, notify_data_t *n_data);
  30 
  31 gboolean expand_notification_data(resource_t *rsc, notify_data_t *n_data,
  32                                   pe_working_set_t *data_set);
  33 
  34 void create_notifications(resource_t *rsc, notify_data_t *n_data,
  35                           pe_working_set_t *data_set);
  36 
  37 void free_notification_data(notify_data_t *n_data);
  38 
  39 void create_secondary_notification(pe_action_t *action, resource_t *rsc,
  40                                    pe_action_t *stonith_op,
  41                                    pe_working_set_t *data_set);
  42 
  43 #endif /* CRM_PE_NOTIF__H */

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