pacemaker  2.1.7-0f7f88312f
Scalable High-Availability cluster resource manager
Typedefs | Functions | Variables
output_html.c File Reference
#include <crm_internal.h>
#include <ctype.h>
#include <libxml/HTMLtree.h>
#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
#include <crm/common/cmdline_internal.h>
#include <crm/common/xml.h>
Include dependency graph for output_html.c:

Go to the source code of this file.

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 (const char *name,...)
 

Variables

GOptionEntry pcmk__html_output_entries []
 

Typedef Documentation

◆ private_data_t

typedef struct private_data_s private_data_t

Function Documentation

◆ pcmk__html_add_header()

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

Definition at line 455 of file output_html.c.

◆ pcmk__mk_html_output()

pcmk__output_t* pcmk__mk_html_output ( char **  argv)

Definition at line 395 of file output_html.c.

◆ pcmk__output_create_html_node()

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 434 of file output_html.c.

Variable Documentation

◆ pcmk__html_output_entries

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 44 of file output_html.c.