Beispiel #1
0
/**
 * Send the CSS
 *
 * @param session	The router session
 */
static void
send_css(WEB_SESSION	*session)
{
DCB	*dcb = session->session->client;

	send_html_header(dcb);
	send_static_html(dcb, css);
	dcb_close(dcb);
}
Beispiel #2
0
/**
 * Send a blank page
 *
 * @param session	The router session
 */
static void
send_blank(WEB_SESSION	*session)
{
DCB	*dcb = session->session->client;

	send_html_header(dcb);
	send_static_html(dcb, blank_page);
	dcb_close(dcb);
}
Beispiel #3
0
/**
 * Send the menu page
 *
 * @param session	The router session
 */
static void
send_menu(WEB_SESSION	*session)
{
DCB	*dcb = session->session->client_dcb;

	send_html_header(dcb);
	send_static_html(dcb, menu_page);
	dcb_close(dcb);
}