8#ifndef hubbub_tokeniser_tokeniser_h_
9#define hubbub_tokeniser_tokeniser_h_
14#include <hubbub/errors.h>
hubbub_content_model
Definition types.h:32
unsigned char uint8_t
Definition acefiex.h:161
size_t len
Definition initial.c:23
void * data
Definition kthread.h:30
hubbub_error
Definition errors.h:18
hubbub_error(* hubbub_token_handler)(const hubbub_token *token, void *pw)
Definition functypes.h:29
void(* hubbub_error_handler)(uint32_t line, uint32_t col, const char *message, void *pw)
Definition functypes.h:40
Definition tokeniser.c:165
hubbub_error hubbub_tokeniser_create(parserutils_inputstream *input, hubbub_tokeniser **tokeniser)
Definition tokeniser.c:285
hubbub_tokeniser_opttype
Definition tokeniser.h:25
@ HUBBUB_TOKENISER_PAUSE
Definition tokeniser.h:30
@ HUBBUB_TOKENISER_TOKEN_HANDLER
Definition tokeniser.h:26
@ HUBBUB_TOKENISER_PROCESS_CDATA
Definition tokeniser.h:29
@ HUBBUB_TOKENISER_CONTENT_MODEL
Definition tokeniser.h:28
@ HUBBUB_TOKENISER_ERROR_HANDLER
Definition tokeniser.h:27
hubbub_error hubbub_tokeniser_setopt(hubbub_tokeniser *tokeniser, hubbub_tokeniser_opttype type, hubbub_tokeniser_optparams *params)
Definition tokeniser.c:366
hubbub_error hubbub_tokeniser_run(hubbub_tokeniser *tokeniser)
Definition tokeniser.c:454
hubbub_error hubbub_tokeniser_insert_chunk(hubbub_tokeniser *tokeniser, const uint8_t *data, size_t len)
Definition tokeniser.c:433
hubbub_error hubbub_tokeniser_destroy(hubbub_tokeniser *tokeniser)
Definition tokeniser.c:340
Definition tokeniser.h:36
bool pause_parse
Definition tokeniser.h:53
hubbub_error_handler handler
Definition tokeniser.h:43
struct hubbub_tokeniser_optparams::@872 token_handler
struct hubbub_tokeniser_optparams::@874 content_model
bool process_cdata
Definition tokeniser.h:51
hubbub_content_model model
Definition tokeniser.h:48
hubbub_token_handler handler
Definition tokeniser.h:38
void * pw
Definition tokeniser.h:39
struct hubbub_tokeniser_optparams::@873 error_handler
struct VirtioInputEvent * input
Definition virtiokbd.c:46