Page Menu
Home
ClusterLabs Projects
Search
Configure Global Search
Log In
Files
F5519274
fencing_private.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
fencing_private.h
View Options
/*
* Copyright 2018-2024 the Pacemaker project contributors
*
* The version control history for this file may have further details.
*
* This source code is licensed under the GNU Lesser General Public License
* version 2.1 or later (LGPLv2.1+) WITHOUT ANY WARRANTY.
*/
#ifndef PCMK__FENCING_FENCING_PRIVATE__H
#define PCMK__FENCING_FENCING_PRIVATE__H
#include <stdbool.h> // bool
#include <glib.h> // G_GNUC_INTERNAL, GHashTable
#include <crm/stonith-ng.h> // stonith_t, stonith_key_value_t
#include <crm/fencing/internal.h> // stonith_action_t
#ifdef __cplusplus
extern "C" {
#endif
G_GNUC_INTERNAL
int stonith__execute(stonith_action_t *action);
// Utilities from st_rhcs.c
G_GNUC_INTERNAL
int stonith__list_rhcs_agents(stonith_key_value_t **devices);
G_GNUC_INTERNAL
int stonith__rhcs_metadata(const char *agent, int timeout, char **output);
G_GNUC_INTERNAL
bool stonith__agent_is_rhcs(const char *agent);
G_GNUC_INTERNAL
int stonith__rhcs_validate(stonith_t *st, int call_options, const char *target,
const char *agent, GHashTable *params,
const char *host_arg, int timeout,
char **output, char **error_output);
#ifdef HAVE_STONITH_STONITH_H
// Utilities from st_lha.c
G_GNUC_INTERNAL
int stonith__list_lha_agents(stonith_key_value_t **devices);
G_GNUC_INTERNAL
int stonith__lha_metadata(const char *agent, int timeout, char **output);
G_GNUC_INTERNAL
bool stonith__agent_is_lha(const char *agent);
G_GNUC_INTERNAL
int stonith__lha_validate(stonith_t *st, int call_options, const char *target,
const char *agent, GHashTable *params,
int timeout, char **output, char **error_output);
#endif
#ifdef __cplusplus
}
#endif
#endif // PCMK__FENCING_FENCING_PRIVATE__H
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Fri, Sep 5, 9:19 AM (9 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2299321
Default Alt Text
fencing_private.h (1 KB)
Attached To
Mode
rP Pacemaker
Attached
Detach File
Event Timeline
Log In to Comment