pacemaker  2.0.4-2deceaa
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
pcmk__message_entry_s Struct Reference

#include <include/crm/common/output.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 73 of file output.h.

Field Documentation

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 90 of file output.h.

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 96 of file output.h.

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 80 of file output.h.


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