blob: ad3ff6dd635e8e05fc9f5d1050870775f23f064a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
/*
* This file is part of libdom.
* Licensed under the MIT License,
* http://www.opensource.org/licenses/mit-license.php
* Copyright 2009 Bo Yang <struggleyb.nku@gmail.com>
*/
#ifndef dom_internal_html_document_h_
#define dom_internal_html_document_h_
#include <dom/html/html_document.h>
#include "core/document.h"
/**
* The dom_html_document class
*/
struct dom_html_document {
struct dom_document base; /**< The base class */
dom_string *title; /**< HTML document title */
dom_string *referer; /**< HTML document referer */
dom_string *domain; /**< HTML document domain */
dom_string *url; /**< HTML document URL */
dom_string *cookie; /**< HTML document cookie */
};
/* Initialise a HTMLDocument */
dom_exception _dom_html_document_initialise(dom_html_document *doc,
dom_events_default_action_fetcher daf, dom_ui_handler *ui);
/* Finalise a HTMLDocument */
void _dom_html_document_finalise(dom_html_document *doc);
/* Destroy a HTMLDocument */
void _dom_html_document_destroy(dom_html_document *doc);
#endif
|