pacemaker  2.1.9-49aab99839
Scalable High-Availability cluster resource manager
Functions
output.c File Reference
#include <crm_internal.h>
#include <crm/common/util.h>
#include <crm/common/xml.h>
#include <libxml/tree.h>
#include "crmcommon_private.h"
Include dependency graph for output.c:

Go to the source code of this file.

Functions

void pcmk__output_free (pcmk__output_t *out)
 
int pcmk__bare_output_new (pcmk__output_t **out, const char *fmt_name, const char *filename, char **argv)
 
int pcmk__output_new (pcmk__output_t **out, const char *fmt_name, const char *filename, char **argv)
 
int pcmk__register_format (GOptionGroup *group, const char *name, pcmk__output_factory_t create, const GOptionEntry *options)
 
void pcmk__register_formats (GOptionGroup *group, const pcmk__supported_format_t *formats)
 
void pcmk__unregister_formats (void)
 
int pcmk__call_message (pcmk__output_t *out, const char *message_id,...)
 
void pcmk__register_message (pcmk__output_t *out, const char *message_id, pcmk__message_fn_t fn)
 
void pcmk__register_messages (pcmk__output_t *out, const pcmk__message_entry_t *table)
 
void pcmk__output_and_clear_error (GError **error, pcmk__output_t *out)
 
int pcmk__xml_output_new (pcmk__output_t **out, xmlNodePtr *xml)
 
void pcmk__xml_output_finish (pcmk__output_t *out, crm_exit_t exit_status, xmlNodePtr *xml)
 
int pcmk__log_output_new (pcmk__output_t **out)
 
int pcmk__text_output_new (pcmk__output_t **out, const char *filename)
 

Function Documentation

◆ pcmk__bare_output_new()

int pcmk__bare_output_new ( pcmk__output_t **  out,
const char *  fmt_name,
const char *  filename,
char **  argv 
)

Definition at line 63 of file output.c.

◆ pcmk__call_message()

int pcmk__call_message ( pcmk__output_t out,
const char *  message_id,
  ... 
)

Definition at line 174 of file output.c.

◆ pcmk__log_output_new()

int pcmk__log_output_new ( pcmk__output_t **  out)

Definition at line 291 of file output.c.

◆ pcmk__output_and_clear_error()

void pcmk__output_and_clear_error ( GError **  error,
pcmk__output_t out 
)

Definition at line 215 of file output.c.

◆ pcmk__output_free()

void pcmk__output_free ( pcmk__output_t out)

Definition at line 30 of file output.c.

◆ pcmk__output_new()

int pcmk__output_new ( pcmk__output_t **  out,
const char *  fmt_name,
const char *  filename,
char **  argv 
)

Definition at line 113 of file output.c.

◆ pcmk__register_format()

int pcmk__register_format ( GOptionGroup *  group,
const char *  name,
pcmk__output_factory_t  create,
const GOptionEntry *  options 
)

Definition at line 127 of file output.c.

◆ pcmk__register_formats()

void pcmk__register_formats ( GOptionGroup *  group,
const pcmk__supported_format_t formats 
)

Definition at line 153 of file output.c.

◆ pcmk__register_message()

void pcmk__register_message ( pcmk__output_t out,
const char *  message_id,
pcmk__message_fn_t  fn 
)

Definition at line 196 of file output.c.

◆ pcmk__register_messages()

void pcmk__register_messages ( pcmk__output_t out,
const pcmk__message_entry_t table 
)

Definition at line 204 of file output.c.

◆ pcmk__text_output_new()

int pcmk__text_output_new ( pcmk__output_t **  out,
const char *  filename 
)

Definition at line 320 of file output.c.

◆ pcmk__unregister_formats()

void pcmk__unregister_formats ( void  )

Definition at line 166 of file output.c.

◆ pcmk__xml_output_finish()

void pcmk__xml_output_finish ( pcmk__output_t out,
crm_exit_t  exit_status,
xmlNodePtr *  xml 
)

Definition at line 271 of file output.c.

◆ pcmk__xml_output_new()

int pcmk__xml_output_new ( pcmk__output_t **  out,
xmlNodePtr *  xml 
)

Definition at line 244 of file output.c.