pacemaker  2.1.7-0f7f88312f
Scalable High-Availability cluster resource manager
Typedefs | Functions | Variables
output_text.c File Reference
#include <crm_internal.h>
#include <crm/common/cmdline_internal.h>
#include <stdarg.h>
#include <stdlib.h>
#include <glib.h>
#include <termios.h>
Include dependency graph for output_text.c:

Go to the source code of this file.

Typedefs

typedef struct text_list_data_s text_list_data_t
 
typedef struct private_data_s private_data_t
 

Functions

pcmk__output_tpcmk__mk_text_output (char **argv)
 
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)
 

Variables

GOptionEntry pcmk__text_output_entries []
 

Typedef Documentation

◆ private_data_t

typedef struct private_data_s private_data_t

◆ text_list_data_t

typedef struct text_list_data_s text_list_data_t

Function Documentation

◆ pcmk__formatted_printf()

void pcmk__formatted_printf ( pcmk__output_t out,
const char *  format,
  ... 
)

Definition at line 353 of file output_text.c.

◆ pcmk__formatted_vprintf()

void pcmk__formatted_vprintf ( pcmk__output_t out,
const char *  format,
va_list  args 
)

Definition at line 341 of file output_text.c.

◆ pcmk__indented_printf()

void pcmk__indented_printf ( pcmk__output_t out,
const char *  format,
  ... 
)

Definition at line 391 of file output_text.c.

◆ pcmk__indented_vprintf()

void pcmk__indented_vprintf ( pcmk__output_t out,
const char *  format,
va_list  args 
)

Definition at line 365 of file output_text.c.

◆ pcmk__mk_text_output()

pcmk__output_t* pcmk__mk_text_output ( char **  argv)

Definition at line 301 of file output_text.c.

◆ pcmk__text_prompt()

void pcmk__text_prompt ( const char *  prompt,
bool  echo,
char **  dest 
)

Definition at line 402 of file output_text.c.

Variable Documentation

◆ pcmk__text_output_entries

GOptionEntry pcmk__text_output_entries[]
Initial value:
= {
{ "text-fancy", 0, 0, G_OPTION_ARG_NONE, &fancy,
"Use more highly formatted output (requires --output-as=text)",
NULL },
{ NULL }
}

Definition at line 20 of file output_text.c.