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

Deprecated Pacemaker scheduler utilities. More...

#include <stdbool.h>
#include <crm/common/util.h>
#include <crm/common/scheduler.h>
Include dependency graph for status_compat.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

pcmk_node_tpe_find_node (const GList *node_list, const char *node_name)
 Find a node by name in a list of nodes. More...
 

Detailed Description

Deprecated Pacemaker scheduler 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 status_compat.h.

Function Documentation

◆ pe_find_node()

pcmk_node_t* pe_find_node ( const GList *  nodes,
const char *  node_name 
)

Find a node by name in a list of nodes.

Deprecated:
Use pcmk_find_node() with scheduler object instead
Parameters
[in]nodesList of nodes (as pcmk_node_t*)
[in]node_nameName of node to find
Returns
Node from nodes that matches node_name if any, otherwise NULL

Definition at line 517 of file status.c.