pacemaker 3.0.1-16e74fc4da
Scalable High-Availability cluster resource manager
Loading...
Searching...
No Matches
common_compat.h
Go to the documentation of this file.
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_COMMON_COMPAT__H
11#define PCMK__CRM_PENGINE_COMMON_COMPAT__H
12
13#include <regex.h> // regmatch_t
14#include <glib.h> // guint, GHashTable
15
16#include <crm/common/iso8601.h> // crm_time_t
17#include <crm/common/roles.h> // enum rsc_role_e
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
34
35typedef struct pe_re_match_data {
36 char *string;
37 int nregs;
38 regmatch_t *pmatch;
40
41typedef struct pe_match_data {
43 GHashTable *params;
44 GHashTable *meta;
46
47typedef struct pe_rsc_eval_data {
48 const char *standard;
49 const char *provider;
50 const char *agent;
52
53typedef struct pe_op_eval_data {
54 const char *op_name;
55 guint interval;
57
66
68
69#ifdef __cplusplus
70}
71#endif
72
73#endif // PCMK__CRM_PENGINE_COMMON_COMPAT__H
struct pe_rule_eval_data pe_rule_eval_data_t
struct pe_match_data pe_match_data_t
struct pe_re_match_data pe_re_match_data_t
struct pe_op_eval_data pe_op_eval_data_t
struct pe_rsc_eval_data pe_rsc_eval_data_t
ISO_8601 Date handling.
struct crm_time_s crm_time_t
Definition iso8601.h:32
Scheduler API for resource roles.
rsc_role_e
Definition roles.h:34
GHashTable * meta
pe_re_match_data_t * re
GHashTable * params
const char * op_name
regmatch_t * pmatch
const char * agent
const char * provider
const char * standard
pe_rsc_eval_data_t * rsc_data
GHashTable * node_hash
enum rsc_role_e role
crm_time_t * now
pe_match_data_t * match_data
pe_op_eval_data_t * op_data