pacemaker  2.1.8-3980678f03
Scalable High-Availability cluster resource manager
pcmki_resource.h
Go to the documentation of this file.
1 /*
2  * Copyright 2021-2023 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 int pcmk__resource_delete(cib_t *cib, uint32_t cib_opts, const char *rsc_id,
19  const char *rsc_type);
20 
22  const pcmk_node_t *node, GHashTable *overrides);
23 
24 #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.