root/crmd/te_callbacks.h

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

INCLUDED FROM


   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 #ifndef TE_CALLBACKS__H
  19 #  define TE_CALLBACKS__H
  20 
  21 extern void cib_fencing_updated(xmlNode * msg, int call_id, int rc,
  22                                 xmlNode * output, void *user_data);
  23 
  24 extern void cib_action_updated(xmlNode * msg, int call_id, int rc,
  25                                xmlNode * output, void *user_data);
  26 
  27 extern gboolean global_timer_callback(gpointer data);
  28 extern gboolean action_timer_callback(gpointer data);
  29 
  30 extern gboolean te_graph_trigger(gpointer user_data);
  31 
  32 extern void te_update_diff(const char *event, xmlNode * msg);
  33 
  34 extern void tengine_stonith_callback(stonith_t * stonith, stonith_callback_data_t * data);
  35 
  36 void update_stonith_max_attempts(const char* value);
  37 
  38 #endif

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