root/lib/fencing/fencing_private.h

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

INCLUDED FROM


   1 /*
   2  * Copyright 2018-2021 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 PCMK__FENCING_PRIVATE__H
  11 #  define PCMK__FENCING_PRIVATE__H
  12 
  13 G_GNUC_INTERNAL
  14 int stonith__execute(stonith_action_t *action);
  15 
  16 // Utilities from st_rhcs.c
  17 
  18 G_GNUC_INTERNAL
  19 int stonith__list_rhcs_agents(stonith_key_value_t **devices);
  20 
  21 G_GNUC_INTERNAL
  22 int stonith__rhcs_metadata(const char *agent, int timeout, char **output);
  23 
  24 G_GNUC_INTERNAL
  25 bool stonith__agent_is_rhcs(const char *agent);
  26 
  27 G_GNUC_INTERNAL
  28 int stonith__rhcs_validate(stonith_t *st, int call_options, const char *target,
  29                            const char *agent, GHashTable *params,
  30                            const char *host_arg, int timeout,
  31                            char **output, char **error_output);
  32 
  33 #ifdef HAVE_STONITH_STONITH_H
  34 // Utilities from st_lha.c
  35 
  36 G_GNUC_INTERNAL
  37 int stonith__list_lha_agents(stonith_key_value_t **devices);
  38 
  39 G_GNUC_INTERNAL
  40 int stonith__lha_metadata(const char *agent, int timeout, char **output);
  41 
  42 G_GNUC_INTERNAL
  43 bool stonith__agent_is_lha(const char *agent);
  44 
  45 G_GNUC_INTERNAL
  46 int stonith__lha_validate(stonith_t *st, int call_options, const char *target,
  47                           const char *agent, GHashTable *params,
  48                           int timeout, char **output, char **error_output);
  49 #endif
  50 
  51 #endif  // PCMK__FENCING_PRIVATE__H

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