pacemaker  2.1.0-7c3f660
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
output.c File Reference
#include <crm_internal.h>
#include <crm/common/util.h>
#include <crm/common/xml.h>
#include <libxml/tree.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__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, GOptionEntry *options)
 
void pcmk__register_formats (GOptionGroup *group, pcmk__supported_format_t *formats)
 
void pcmk__unregister_formats ()
 
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, pcmk__message_entry_t *table)
 
void pcmk__output_and_clear_error (GError *error, pcmk__output_t *out)
 

Function Documentation

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

Definition at line 117 of file output.c.

void pcmk__output_and_clear_error ( GError *  error,
pcmk__output_t out 
)

Definition at line 154 of file output.c.

void pcmk__output_free ( pcmk__output_t out)

Definition at line 19 of file output.c.

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

Definition at line 31 of file output.c.

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

Definition at line 78 of file output.c.

void pcmk__register_formats ( GOptionGroup *  group,
pcmk__supported_format_t formats 
)

Definition at line 97 of file output.c.

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

Definition at line 137 of file output.c.

void pcmk__register_messages ( pcmk__output_t out,
pcmk__message_entry_t table 
)

Definition at line 143 of file output.c.

void pcmk__unregister_formats ( void  )

Definition at line 110 of file output.c.