php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
interface.h File Reference

Go to the source code of this file.

Macros

#define lxb_dom_interface_cdata_section(obj)
 
#define lxb_dom_interface_character_data(obj)
 
#define lxb_dom_interface_comment(obj)
 
#define lxb_dom_interface_document(obj)
 
#define lxb_dom_interface_document_fragment(obj)
 
#define lxb_dom_interface_document_type(obj)
 
#define lxb_dom_interface_element(obj)
 
#define lxb_dom_interface_attr(obj)
 
#define lxb_dom_interface_event_target(obj)
 
#define lxb_dom_interface_node(obj)
 
#define lxb_dom_interface_processing_instruction(obj)
 
#define lxb_dom_interface_shadow_root(obj)
 
#define lxb_dom_interface_text(obj)
 

Typedefs

typedef struct lxb_dom_event_target lxb_dom_event_target_t
 
typedef struct lxb_dom_node lxb_dom_node_t
 
typedef struct lxb_dom_element lxb_dom_element_t
 
typedef struct lxb_dom_attr lxb_dom_attr_t
 
typedef struct lxb_dom_document lxb_dom_document_t
 
typedef struct lxb_dom_document_type lxb_dom_document_type_t
 
typedef struct lxb_dom_document_fragment lxb_dom_document_fragment_t
 
typedef struct lxb_dom_shadow_root lxb_dom_shadow_root_t
 
typedef struct lxb_dom_character_data lxb_dom_character_data_t
 
typedef struct lxb_dom_text lxb_dom_text_t
 
typedef struct lxb_dom_cdata_section lxb_dom_cdata_section_t
 
typedef struct lxb_dom_processing_instruction lxb_dom_processing_instruction_t
 
typedef struct lxb_dom_comment lxb_dom_comment_t
 
typedef void lxb_dom_interface_t
 
typedef void *(* lxb_dom_interface_constructor_f) (void *document)
 
typedef void *(* lxb_dom_interface_destructor_f) (void *intrfc)
 
typedef lxb_dom_interface_t *(* lxb_dom_interface_create_f) (lxb_dom_document_t *document, lxb_tag_id_t tag_id, lxb_ns_id_t ns)
 
typedef lxb_dom_interface_t *(* lxb_dom_interface_clone_f) (lxb_dom_document_t *document, const lxb_dom_interface_t *intrfc)
 
typedef lxb_dom_interface_t *(* lxb_dom_interface_destroy_f) (lxb_dom_interface_t *intrfc)
 
typedef lxb_status_t(* lxb_dom_event_insert_f) (lxb_dom_node_t *node)
 
typedef lxb_status_t(* lxb_dom_event_remove_f) (lxb_dom_node_t *node)
 
typedef lxb_status_t(* lxb_dom_event_destroy_f) (lxb_dom_node_t *node)
 
typedef lxb_status_t(* lxb_dom_event_set_value_f) (lxb_dom_node_t *node, const lxb_char_t *value, size_t length)
 

Functions

LXB_API lxb_dom_interface_tlxb_dom_interface_create (lxb_dom_document_t *document, lxb_tag_id_t tag_id, lxb_ns_id_t ns)
 
LXB_API lxb_dom_interface_tlxb_dom_interface_clone (lxb_dom_document_t *document, const lxb_dom_interface_t *intrfc)
 
LXB_API lxb_dom_interface_tlxb_dom_interface_destroy (lxb_dom_interface_t *intrfc)
 

Macro Definition Documentation

◆ lxb_dom_interface_attr

#define lxb_dom_interface_attr ( obj)
Value:
((lxb_dom_attr_t *) (obj))
struct lxb_dom_attr lxb_dom_attr_t
Definition interface.h:40

Definition at line 29 of file interface.h.

◆ lxb_dom_interface_cdata_section

#define lxb_dom_interface_cdata_section ( obj)
Value:
struct lxb_dom_cdata_section lxb_dom_cdata_section_t
Definition interface.h:47

Definition at line 22 of file interface.h.

◆ lxb_dom_interface_character_data

#define lxb_dom_interface_character_data ( obj)
Value:
struct lxb_dom_character_data lxb_dom_character_data_t
Definition interface.h:45

Definition at line 23 of file interface.h.

◆ lxb_dom_interface_comment

#define lxb_dom_interface_comment ( obj)
Value:
((lxb_dom_comment_t *) (obj))
struct lxb_dom_comment lxb_dom_comment_t
Definition interface.h:49

Definition at line 24 of file interface.h.

◆ lxb_dom_interface_document

#define lxb_dom_interface_document ( obj)
Value:
((lxb_dom_document_t *) (obj))
struct lxb_dom_document lxb_dom_document_t
Definition interface.h:41

Definition at line 25 of file interface.h.

◆ lxb_dom_interface_document_fragment

#define lxb_dom_interface_document_fragment ( obj)
Value:
struct lxb_dom_document_fragment lxb_dom_document_fragment_t
Definition interface.h:43

Definition at line 26 of file interface.h.

◆ lxb_dom_interface_document_type

#define lxb_dom_interface_document_type ( obj)
Value:
struct lxb_dom_document_type lxb_dom_document_type_t
Definition interface.h:42

Definition at line 27 of file interface.h.

◆ lxb_dom_interface_element

#define lxb_dom_interface_element ( obj)
Value:
((lxb_dom_element_t *) (obj))
struct lxb_dom_element lxb_dom_element_t
Definition interface.h:39

Definition at line 28 of file interface.h.

◆ lxb_dom_interface_event_target

#define lxb_dom_interface_event_target ( obj)
Value:
struct lxb_dom_event_target lxb_dom_event_target_t
Definition interface.h:37

Definition at line 30 of file interface.h.

◆ lxb_dom_interface_node

#define lxb_dom_interface_node ( obj)
Value:
((lxb_dom_node_t *) (obj))
struct lxb_dom_node lxb_dom_node_t
Definition interface.h:38

Definition at line 31 of file interface.h.

◆ lxb_dom_interface_processing_instruction

#define lxb_dom_interface_processing_instruction ( obj)
Value:
struct lxb_dom_processing_instruction lxb_dom_processing_instruction_t
Definition interface.h:48

Definition at line 32 of file interface.h.

◆ lxb_dom_interface_shadow_root

#define lxb_dom_interface_shadow_root ( obj)
Value:
struct lxb_dom_shadow_root lxb_dom_shadow_root_t
Definition interface.h:44

Definition at line 33 of file interface.h.

◆ lxb_dom_interface_text

#define lxb_dom_interface_text ( obj)
Value:
((lxb_dom_text_t *) (obj))
struct lxb_dom_text lxb_dom_text_t
Definition interface.h:46

Definition at line 34 of file interface.h.

Typedef Documentation

◆ lxb_dom_attr_t

typedef struct lxb_dom_attr lxb_dom_attr_t

Definition at line 40 of file interface.h.

◆ lxb_dom_cdata_section_t

Definition at line 47 of file interface.h.

◆ lxb_dom_character_data_t

Definition at line 45 of file interface.h.

◆ lxb_dom_comment_t

Definition at line 49 of file interface.h.

◆ lxb_dom_document_fragment_t

Definition at line 43 of file interface.h.

◆ lxb_dom_document_t

Definition at line 41 of file interface.h.

◆ lxb_dom_document_type_t

Definition at line 42 of file interface.h.

◆ lxb_dom_element_t

Definition at line 39 of file interface.h.

◆ lxb_dom_event_destroy_f

typedef lxb_status_t(* lxb_dom_event_destroy_f) (lxb_dom_node_t *node)

Definition at line 77 of file interface.h.

◆ lxb_dom_event_insert_f

typedef lxb_status_t(* lxb_dom_event_insert_f) (lxb_dom_node_t *node)

Definition at line 71 of file interface.h.

◆ lxb_dom_event_remove_f

typedef lxb_status_t(* lxb_dom_event_remove_f) (lxb_dom_node_t *node)

Definition at line 74 of file interface.h.

◆ lxb_dom_event_set_value_f

typedef lxb_status_t(* lxb_dom_event_set_value_f) (lxb_dom_node_t *node, const lxb_char_t *value, size_t length)

Definition at line 80 of file interface.h.

◆ lxb_dom_event_target_t

Definition at line 37 of file interface.h.

◆ lxb_dom_interface_clone_f

typedef lxb_dom_interface_t *(* lxb_dom_interface_clone_f) (lxb_dom_document_t *document, const lxb_dom_interface_t *intrfc)

Definition at line 64 of file interface.h.

◆ lxb_dom_interface_constructor_f

typedef void *(* lxb_dom_interface_constructor_f) (void *document)

Definition at line 53 of file interface.h.

◆ lxb_dom_interface_create_f

typedef lxb_dom_interface_t *(* lxb_dom_interface_create_f) (lxb_dom_document_t *document, lxb_tag_id_t tag_id, lxb_ns_id_t ns)

Definition at line 60 of file interface.h.

◆ lxb_dom_interface_destroy_f

typedef lxb_dom_interface_t *(* lxb_dom_interface_destroy_f) (lxb_dom_interface_t *intrfc)

Definition at line 68 of file interface.h.

◆ lxb_dom_interface_destructor_f

typedef void *(* lxb_dom_interface_destructor_f) (void *intrfc)

Definition at line 56 of file interface.h.

◆ lxb_dom_interface_t

Definition at line 51 of file interface.h.

◆ lxb_dom_node_t

typedef struct lxb_dom_node lxb_dom_node_t

Definition at line 38 of file interface.h.

◆ lxb_dom_processing_instruction_t

◆ lxb_dom_shadow_root_t

Definition at line 44 of file interface.h.

◆ lxb_dom_text_t

typedef struct lxb_dom_text lxb_dom_text_t

Definition at line 46 of file interface.h.

Function Documentation

◆ lxb_dom_interface_clone()

LXB_API lxb_dom_interface_t * lxb_dom_interface_clone ( lxb_dom_document_t * document,
const lxb_dom_interface_t * intrfc )

Definition at line 40 of file interface.c.

◆ lxb_dom_interface_create()

LXB_API lxb_dom_interface_t * lxb_dom_interface_create ( lxb_dom_document_t * document,
lxb_tag_id_t tag_id,
lxb_ns_id_t ns )

Definition at line 23 of file interface.c.

◆ lxb_dom_interface_destroy()

LXB_API lxb_dom_interface_t * lxb_dom_interface_destroy ( lxb_dom_interface_t * intrfc)

Definition at line 74 of file interface.c.