pacemaker  2.0.2-debe490
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
output.c File Reference
#include <crm/common/util.h>
#include <crm/common/xml.h>
#include <crm/common/internal.h>
#include <crm/common/output.h>
#include <libxml/tree.h>
Include dependency graph for output.c:

Go to the source code of this file.


void pcmk__output_free (pcmk__output_t *out, crm_exit_t exit_status)
int pcmk__output_new (pcmk__output_t **out, const char *fmt_name, const char *filename, char **argv)
bool pcmk__parse_output_args (const char *argname, char *argvalue, char **output_ty, char **output_dest)
int pcmk__register_format (const char *fmt_name, pcmk__output_factory_t create)
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)

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_free ( pcmk__output_t out,
crm_exit_t  exit_status 

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 33 of file output.c.

bool pcmk__parse_output_args ( const char *  argname,
char *  argvalue,
char **  output_ty,
char **  output_dest 

Definition at line 85 of file output.c.

int pcmk__register_format ( const char *  fmt_name,
pcmk__output_factory_t  create 

Definition at line 103 of file output.c.

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

Definition at line 135 of file output.c.

void pcmk__register_messages ( pcmk__output_t out,
pcmk__message_entry_t table 

Definition at line 141 of file output.c.