pacemaker  2.1.0-7c3f660
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Typedefs | Functions | Variables
output_text.c File Reference
#include <crm_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

typedef struct private_data_s private_data_t
typedef struct text_list_data_s text_list_data_t

Function Documentation

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

Definition at line 337 of file output_text.c.

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

Definition at line 326 of file output_text.c.

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

Definition at line 378 of file output_text.c.

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

Definition at line 349 of file output_text.c.

pcmk__output_t* pcmk__mk_text_output ( char **  argv)

Definition at line 287 of file output_text.c.

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

Definition at line 389 of file output_text.c.

Variable Documentation

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 19 of file output_text.c.