pacemaker  2.1.8-3980678f03
Scalable High-Availability cluster resource manager
Functions
util_compat.h File Reference

Deprecated Pacemaker configuration utilities. More...

#include <libxml/tree.h>
#include <crm/cib/cib_types.h>
#include <crm/common/xml.h>
Include dependency graph for util_compat.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

const char * get_object_path (const char *object_type)
 
const char * get_object_parent (const char *object_type)
 
xmlNode * get_object_root (const char *object_type, xmlNode *the_root)
 
int set_standby (cib_t *the_cib, const char *uuid, const char *scope, const char *standby_value)
 
int query_node_uname (cib_t *the_cib, const char *uuid, char **uname)
 
xmlNode * cib_get_generation (cib_t *cib)
 
const char * cib_pref (GHashTable *options, const char *name)
 
void cib_metadata (void)
 

Detailed Description

Deprecated Pacemaker configuration utilities.

Deprecated:
Do not include this header directly. The utilities in this header, and the header itself, will be removed in a future release.

Definition in file util_compat.h.

Function Documentation

◆ cib_get_generation()

xmlNode* cib_get_generation ( cib_t cib)
Deprecated:
Do not use

Definition at line 1066 of file cib_utils.c.

◆ cib_metadata()

void cib_metadata ( void  )
Deprecated:
Do not use

Definition at line 1105 of file cib_utils.c.

◆ cib_pref()

const char* cib_pref ( GHashTable *  options,
const char *  name 
)
Deprecated:
Do not use

Definition at line 1099 of file cib_utils.c.

◆ get_object_parent()

const char* get_object_parent ( const char *  object_type)
Deprecated:
Use pcmk_cib_parent_name_for() instead

Definition at line 1087 of file cib_utils.c.

◆ get_object_path()

const char* get_object_path ( const char *  object_type)
Deprecated:
Use pcmk_cib_xpath_for() instead

Definition at line 1081 of file cib_utils.c.

◆ get_object_root()

xmlNode* get_object_root ( const char *  object_type,
xmlNode *  the_root 
)
Deprecated:
Use pcmk_cib_xpath_for() instead

Definition at line 1093 of file cib_utils.c.

◆ query_node_uname()

int query_node_uname ( cib_t the_cib,
const char *  uuid,
char **  uname 
)
Deprecated:
Do not use

Definition at line 674 of file cib_attrs.c.

◆ set_standby()

int set_standby ( cib_t the_cib,
const char *  uuid,
const char *  scope,
const char *  standby_value 
)
Deprecated:
Do not use

Definition at line 718 of file cib_attrs.c.