root/include/crm/pengine/rules.h

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

INCLUDED FROM


   1 /*
   2  * Copyright 2004-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 
  10 #ifndef PCMK__CRM_PENGINE_RULES__H
  11 #  define PCMK__CRM_PENGINE_RULES__H
  12 
  13 #  include <glib.h>
  14 #  include <crm/crm.h>
  15 #  include <crm/common/iso8601.h>
  16 #  include <crm/common/scheduler.h>
  17 #  include <crm/pengine/common.h>
  18 
  19 #ifdef __cplusplus
  20 extern "C" {
  21 #endif
  22 
  23 void pe_eval_nvpairs(xmlNode *top, const xmlNode *xml_obj, const char *set_name,
  24                      const pe_rule_eval_data_t *rule_data, GHashTable *hash,
  25                      const char *always_first, gboolean overwrite,
  26                      crm_time_t *next_change);
  27 
  28 void pe_unpack_nvpairs(xmlNode *top, const xmlNode *xml_obj,
  29                        const char *set_name, GHashTable *node_hash,
  30                        GHashTable *hash, const char *always_first,
  31                        gboolean overwrite, crm_time_t *now,
  32                        crm_time_t *next_change);
  33 
  34 #if !defined(PCMK_ALLOW_DEPRECATED) || (PCMK_ALLOW_DEPRECATED == 1)
  35 #include <crm/pengine/rules_compat.h>
  36 #endif
  37 
  38 #ifdef __cplusplus
  39 }
  40 #endif
  41 
  42 #endif

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