libdom
Loading...
Searching...
No Matches
html_head_element.c File Reference
#include <stdlib.h>
#include "html/html_document.h"
#include "html/html_head_element.h"
#include "core/node.h"
#include "utils/utils.h"

Functions

dom_exception _dom_html_head_element_create (struct dom_html_element_create_params *params, struct dom_html_head_element **ele)
 
dom_exception _dom_html_head_element_initialise (struct dom_html_element_create_params *params, struct dom_html_head_element *ele)
 
void _dom_html_head_element_finalise (struct dom_html_head_element *ele)
 
void _dom_html_head_element_destroy (struct dom_html_head_element *ele)
 
dom_exception _dom_html_head_element_parse_attribute (dom_element *ele, dom_string *name, dom_string *value, dom_string **parsed)
 
void _dom_virtual_html_head_element_destroy (dom_node_internal *node)
 
dom_exception _dom_html_head_element_copy (dom_node_internal *old, dom_node_internal **copy)
 
dom_exception _dom_html_head_element_copy_internal (dom_html_head_element *old, dom_html_head_element *new)
 
dom_exception dom_html_head_element_get_profile (dom_html_head_element *element, dom_string **profile)
 
dom_exception dom_html_head_element_set_profile (dom_html_head_element *element, dom_string *profile)
 

Function Documentation

◆ _dom_html_head_element_copy()

dom_exception _dom_html_head_element_copy ( dom_node_internal * old,
dom_node_internal ** copy )

◆ _dom_html_head_element_copy_internal()

dom_exception _dom_html_head_element_copy_internal ( dom_html_head_element * old,
dom_html_head_element * new )

◆ _dom_html_head_element_create()

dom_exception _dom_html_head_element_create ( struct dom_html_element_create_params * params,
struct dom_html_head_element ** ele )

Create a dom_html_head_element object

Parameters
paramsThe html element creation parameters
eleThe returned element object
Returns
DOM_NO_ERR on success, appropriate dom_exception on failure.

◆ _dom_html_head_element_destroy()

void _dom_html_head_element_destroy ( struct dom_html_head_element * ele)

Destroy a dom_html_head_element object

Parameters
eleThe dom_html_head_element object

◆ _dom_html_head_element_finalise()

void _dom_html_head_element_finalise ( struct dom_html_head_element * ele)

Finalise a dom_html_head_element object

Parameters
eleThe dom_html_head_element object

◆ _dom_html_head_element_initialise()

dom_exception _dom_html_head_element_initialise ( struct dom_html_element_create_params * params,
struct dom_html_head_element * ele )

Initialise a dom_html_head_element object

Parameters
paramsThe html element creation parameters
eleThe dom_html_head_element object
Returns
DOM_NO_ERR on success, appropriate dom_exception on failure.

◆ _dom_html_head_element_parse_attribute()

dom_exception _dom_html_head_element_parse_attribute ( dom_element * ele,
dom_string * name,
dom_string * value,
dom_string ** parsed )

◆ _dom_virtual_html_head_element_destroy()

void _dom_virtual_html_head_element_destroy ( dom_node_internal * node)

◆ dom_html_head_element_get_profile()

dom_exception dom_html_head_element_get_profile ( dom_html_head_element * element,
dom_string ** profile )

◆ dom_html_head_element_set_profile()

dom_exception dom_html_head_element_set_profile ( dom_html_head_element * element,
dom_string * profile )