pacemaker  2.1.7-0f7f88312f
Scalable High-Availability cluster resource manager
Data Fields
pcmk__message_entry_s Struct Reference

#include <include/crm/common/output_internal.h>

Collaboration diagram for pcmk__message_entry_s:
Collaboration graph
[legend]

Data Fields

const char * message_id
 The message to be handled. More...
 
const char * fmt_name
 The format type this handler is for. More...
 
pcmk__message_fn_t fn
 The function to be called for message_id given a match on fmt_name. See comments on pcmk__message_fn_t. More...
 

Detailed Description

Definition at line 91 of file output_internal.h.

Field Documentation

◆ fmt_name

const char* pcmk__message_entry_s::fmt_name

The format type this handler is for.

This name must match the fmt_name of the currently active formatter in order for the registered function to be called. It is valid to have multiple entries for the same message_id but with different fmt_name values.

Definition at line 108 of file output_internal.h.

◆ fn

pcmk__message_fn_t pcmk__message_entry_s::fn

The function to be called for message_id given a match on fmt_name. See comments on pcmk__message_fn_t.

Definition at line 114 of file output_internal.h.

◆ message_id

const char* pcmk__message_entry_s::message_id

The message to be handled.

This must be the same ID that is passed to the message function of a pcmk__output_t. Unknown message IDs will be ignored.

Definition at line 98 of file output_internal.h.


The documentation for this struct was generated from the following file: