pacemaker  3.0.0-d8340737c4
Scalable High-Availability cluster resource manager
pcmki_result_code.h
Go to the documentation of this file.
1 /*
2  * Copyright 2022-2024 the Pacemaker project contributors
3  *
4  * The version control history for this file may have further details.
5  *
6  * This source code is licensed under the GNU Lesser General Public License
7  * version 2.1 or later (LGPLv2.1+) WITHOUT ANY WARRANTY.
8  */
9 
10 #ifndef PCMK__PCMKI_PCMKI_RESULT_CODE__H
11 #define PCMK__PCMKI_PCMKI_RESULT_CODE__H
12 
13 #include <stdint.h>
14 
15 #include <crm/crm.h>
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 int pcmk__show_result_code(pcmk__output_t *out, int code,
23  enum pcmk_result_type type, uint32_t flags);
25  uint32_t flags);
26 
27 #ifdef __cplusplus
28 }
29 #endif
30 
31 #endif // PCMK__PCMKI_PCMKI_RESULT_CODE__H
A dumping ground.
enum pcmk_ipc_server type
Definition: cpg.c:51
int pcmk__show_result_code(pcmk__output_t *out, int code, enum pcmk_result_type type, uint32_t flags)
Formatted output for pacemaker tools.
This structure contains everything that makes up a single output formatter.
int pcmk__list_result_codes(pcmk__output_t *out, enum pcmk_result_type type, uint32_t flags)
uint64_t flags
Definition: remote.c:211
pcmk_result_type
Types of Pacemaker result codes.
Definition: results.h:340