pacemaker  3.0.0-d8340737c4
Scalable High-Availability cluster resource manager
Typedefs | Functions
compat.h File Reference

Deprecated Pacemaker cluster API. More...

#include <crm/cluster.h>
Include dependency graph for compat.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct pcmk__cluster crm_cluster_t
 

Enumerations

enum  cluster_type_e { pcmk_cluster_unknown = pcmk_cluster_layer_unknown, pcmk_cluster_invalid = pcmk_cluster_layer_invalid, pcmk_cluster_corosync = pcmk_cluster_layer_corosync }
 

Functions

gboolean crm_cluster_connect (pcmk_cluster_t *cluster)
 
const char * name_for_cluster_type (enum cluster_type_e type)
 
enum cluster_type_e get_cluster_type (void)
 
void crm_peer_init (void)
 

Detailed Description

Deprecated Pacemaker cluster API.

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

Definition in file compat.h.

Typedef Documentation

◆ crm_cluster_t

typedef struct pcmk__cluster crm_cluster_t
Deprecated:
Use pcmk_cluster_t instead

Definition at line 30 of file compat.h.

Enumeration Type Documentation

◆ cluster_type_e

Deprecated:
Use enum pcmk_cluster_layer instead
Enumerator
pcmk_cluster_unknown 
pcmk_cluster_invalid 
pcmk_cluster_corosync 

Definition at line 39 of file compat.h.

Function Documentation

◆ crm_cluster_connect()

gboolean crm_cluster_connect ( pcmk_cluster_t cluster)
Deprecated:
Use pcmk_cluster_connect() instead

Definition at line 435 of file cluster.c.

◆ crm_peer_init()

void crm_peer_init ( void  )
Deprecated:
Do not use

Definition at line 1492 of file membership.c.

◆ get_cluster_type()

enum cluster_type_e get_cluster_type ( void  )
Deprecated:
Use pcmk_get_cluster_layer() instead

Definition at line 465 of file cluster.c.

◆ name_for_cluster_type()

const char* name_for_cluster_type ( enum cluster_type_e  type)
Deprecated:
Use pcmk_cluster_layer_text() instead

Definition at line 450 of file cluster.c.