Hubbub
Data Fields
hubbub_tokeniser_optparams Union Reference

Hubbub tokeniser option parameters. More...

#include <tokeniser.h>

Data Fields

struct {
   hubbub_token_handler   handler
 
   void *   pw
 
token_handler
 Token handling callback. More...
 
struct {
   hubbub_error_handler   handler
 
   void *   pw
 
error_handler
 Error handling callback. More...
 
struct {
   hubbub_content_model   model
 
content_model
 Current content model. More...
 
bool process_cdata
 Whether to process CDATA sections. More...
 
bool pause_parse
 Pause parsing. More...
 

Detailed Description

Hubbub tokeniser option parameters.

Definition at line 36 of file tokeniser.h.

Field Documentation

◆ content_model

struct { ... } hubbub_tokeniser_optparams::content_model

◆ error_handler

struct { ... } hubbub_tokeniser_optparams::error_handler

Error handling callback.

Referenced by hubbub_tokeniser_setopt().

◆ handler [1/2]

hubbub_token_handler hubbub_tokeniser_optparams::handler

◆ handler [2/2]

hubbub_error_handler hubbub_tokeniser_optparams::handler

Definition at line 43 of file tokeniser.h.

◆ model

hubbub_content_model hubbub_tokeniser_optparams::model

◆ pause_parse

bool hubbub_tokeniser_optparams::pause_parse

Pause parsing.

Definition at line 53 of file tokeniser.h.

Referenced by hubbub_tokeniser_setopt().

◆ process_cdata

bool hubbub_tokeniser_optparams::process_cdata

Whether to process CDATA sections.

Definition at line 51 of file tokeniser.h.

Referenced by hubbub_tokeniser_setopt().

◆ pw

void* hubbub_tokeniser_optparams::pw

◆ token_handler

struct { ... } hubbub_tokeniser_optparams::token_handler

The documentation for this union was generated from the following file: