#include <crm_internal.h>
#include <crm/common/cmdline_internal.h>
#include <stdarg.h>
#include <stdlib.h>
#include <glib.h>
#include <termios.h>
#include "crmcommon_private.h"
Go to the source code of this file.
|
pcmk__output_t * | pcmk__mk_text_output (char **argv) |
|
bool | pcmk__output_text_get_fancy (pcmk__output_t *out) |
|
void | pcmk__output_text_set_fancy (pcmk__output_t *out, bool enabled) |
|
void | pcmk__formatted_vprintf (pcmk__output_t *out, const char *format, va_list args) |
|
void | pcmk__formatted_printf (pcmk__output_t *out, const char *format,...) |
|
void | pcmk__indented_vprintf (pcmk__output_t *out, const char *format, va_list args) |
|
void | pcmk__indented_printf (pcmk__output_t *out, const char *format,...) |
|
void | pcmk__text_prompt (const char *prompt, bool echo, char **dest) |
|
◆ private_data_t
◆ text_list_data_t
◆ pcmk__formatted_printf()
void pcmk__formatted_printf |
( |
pcmk__output_t * |
out, |
|
|
const char * |
format, |
|
|
|
... |
|
) |
| |
◆ pcmk__formatted_vprintf()
void pcmk__formatted_vprintf |
( |
pcmk__output_t * |
out, |
|
|
const char * |
format, |
|
|
va_list |
args |
|
) |
| |
◆ pcmk__indented_printf()
void pcmk__indented_printf |
( |
pcmk__output_t * |
out, |
|
|
const char * |
format, |
|
|
|
... |
|
) |
| |
◆ pcmk__indented_vprintf()
void pcmk__indented_vprintf |
( |
pcmk__output_t * |
out, |
|
|
const char * |
format, |
|
|
va_list |
args |
|
) |
| |
◆ pcmk__mk_text_output()
◆ pcmk__output_text_get_fancy()
◆ pcmk__output_text_set_fancy()
void pcmk__output_text_set_fancy |
( |
pcmk__output_t * |
out, |
|
|
bool |
enabled |
|
) |
| |
◆ pcmk__text_prompt()
void pcmk__text_prompt |
( |
const char * |
prompt, |
|
|
bool |
echo, |
|
|
char ** |
dest |
|
) |
| |
◆ pcmk__text_output_entries
GOptionEntry pcmk__text_output_entries[] |
Initial value:= {
{ "text-fancy", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &fancy,
"Use more highly formatted output (requires --output-as=text)",
NULL },
{ NULL }
}
Definition at line 24 of file output_text.c.