pacemaker  2.0.4-2deceaa
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Typedefs | Functions | Variables
output_html.c File Reference
#include <ctype.h>
#include <libxml/HTMLtree.h>
#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
#include <crm/crm.h>
#include <crm/common/output.h>
#include <crm/common/xml.h>
Include dependency graph for output_html.c:

Go to the source code of this file.

Macros

#define _GNU_SOURCE
 

Typedefs

typedef struct private_data_s private_data_t
 

Functions

pcmk__output_tpcmk__mk_html_output (char **argv)
 
xmlNodePtr pcmk__output_create_html_node (pcmk__output_t *out, const char *element_name, const char *id, const char *class_name, const char *text)
 
void pcmk__html_add_header (xmlNodePtr parent, const char *name,...)
 

Variables

GOptionEntry pcmk__html_output_entries []
 

Macro Definition Documentation

#define _GNU_SOURCE

Definition at line 11 of file output_html.c.

Typedef Documentation

typedef struct private_data_s private_data_t

Function Documentation

void pcmk__html_add_header ( xmlNodePtr  parent,
const char *  name,
  ... 
)

Definition at line 405 of file output_html.c.

pcmk__output_t* pcmk__mk_html_output ( char **  argv)

Definition at line 355 of file output_html.c.

xmlNodePtr pcmk__output_create_html_node ( pcmk__output_t out,
const char *  element_name,
const char *  id,
const char *  class_name,
const char *  text 
)

Definition at line 389 of file output_html.c.

Variable Documentation

GOptionEntry pcmk__html_output_entries[]
Initial value:
= {
{ "html-cgi", 0, 0, G_OPTION_ARG_NONE, &cgi_output,
"Add CGI headers (requires --output-as=html)",
NULL },
{ "html-stylesheet", 0, 0, G_OPTION_ARG_STRING, &stylesheet_link,
"Link to an external stylesheet (requires --output-as=html)",
"URI" },
{ "html-title", 0, 0, G_OPTION_ARG_STRING, &title,
"Specify a page title (requires --output-as=html)",
"TITLE" },
{ NULL }
}

Definition at line 41 of file output_html.c.