HomeClusterLabs Projects

Refactor: libpe_status: prefix more data types with 'pe_'

Description

Refactor: libpe_status: prefix more data types with 'pe_'

Helps avoid name conflicts and enhances readability (e.g. distinguishing
pe_node_t from crm_node_t)

This breaks public API backward compatibility by renaming these symbols:

  • action_wrapper_s -> pe_action_wrapper_s
  • no_quorum_policy_e -> pe_quorum_policy
  • node_s -> pe_node_s
  • node_shared_s -> pe_node_shared_s
  • resource_s -> pe_resource_s
  • ticket_s -> pe_ticket_s

These names were really only used internally; the corresponding *_t names have
been kept as deprecated aliases (e.g. node_t for pe_node_t).

Details

Provenance
kgaillotAuthored on Mar 2 2018, 1:12 PM
Parents
rP616fd6a3748d: Refactor: pengine: make more function argument const where possible
Branches
Unknown
Tags
Unknown

Event Timeline