pacemaker 3.0.1-16e74fc4da
Scalable High-Availability cluster resource manager
Loading...
Searching...
No Matches
resources.c File Reference
#include <crm_internal.h>
#include <stdio.h>
#include <stdbool.h>
#include <crm/common/scheduler.h>
#include <crm/common/scheduler_internal.h>
Include dependency graph for resources.c:

Go to the source code of this file.

Functions

void pcmk__free_resource (gpointer user_data)
 
const char * pcmk_resource_id (const pcmk_resource_t *rsc)
 
bool pcmk_resource_is_managed (const pcmk_resource_t *rsc)
 
const char * pcmk__multiply_active_text (const pcmk_resource_t *rsc)
 Get readable description of a multiply-active recovery type.
 

Function Documentation

◆ pcmk__free_resource()

void pcmk__free_resource ( gpointer user_data)

Definition at line 25 of file resources.c.

◆ pcmk__multiply_active_text()

const char * pcmk__multiply_active_text ( const pcmk_resource_t * rsc)

Get readable description of a multiply-active recovery type.

Parameters
[in]rscResource with recovery type to check
Returns
Static string describing recovery type of rsc

Definition at line 70 of file resources.c.

◆ pcmk_resource_id()

const char * pcmk_resource_id ( const pcmk_resource_t * rsc)

Definition at line 43 of file resources.c.

◆ pcmk_resource_is_managed()

bool pcmk_resource_is_managed ( const pcmk_resource_t * rsc)

Definition at line 57 of file resources.c.