pacemaker  3.0.0-d8340737c4
Scalable High-Availability cluster resource manager
pcmki_resource.h
Go to the documentation of this file.
1 /*
2  * Copyright 2021-2024 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 PCMK__PCMKI_PCMKI_RESOURCE__H
10 #define PCMK__PCMKI_PCMKI_RESOURCE__H
11 
12 #include <glib.h>
13 
14 #include <crm/cib/cib_types.h>
15 #include <crm/common/scheduler.h>
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 int pcmk__resource_delete(cib_t *cib, uint32_t cib_opts, const char *rsc_id,
23  const char *rsc_type);
24 
26  const pcmk_node_t *node, GHashTable *overrides);
27 
28 #ifdef __cplusplus
29 }
30 #endif
31 
32 #endif // PCMK__PCMKI_PCMKI_RESOURCE__H
int pcmk__resource_digests(pcmk__output_t *out, pcmk_resource_t *rsc, const pcmk_node_t *node, GHashTable *overrides)
Data types for Cluster Information Base access.
int pcmk__resource_delete(cib_t *cib, uint32_t cib_opts, const char *rsc_id, const char *rsc_type)
Scheduler API.
Formatted output for pacemaker tools.
This structure contains everything that makes up a single output formatter.