root/include/pcmki/pcmki_resource.h

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

INCLUDED FROM


   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>
  16 #include <crm/common/output_internal.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 
  25 int pcmk__resource_digests(pcmk__output_t *out, pcmk_resource_t *rsc,
  26                            const pcmk_node_t *node, GHashTable *overrides);
  27 
  28 #ifdef __cplusplus
  29 }
  30 #endif
  31 
  32 #endif // PCMK__PCMKI_PCMKI_RESOURCE__H

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