1 /*
2  * Copyright (C) 2018-2020 Alexander Borisov
3  *
4  * Author: Alexander Borisov <borisov@lexbor.com>
5  */
6 
7 #ifndef LEXBOR_HTML_TOKENIZER_STATE_RAWTEXT_H
8 #define LEXBOR_HTML_TOKENIZER_STATE_RAWTEXT_H
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 #include "lexbor/html/tokenizer.h"
15 
16 
17 /*
18  * Before call function:
19  * Must be initialized:
20  *     tkz->tmp_tag_id
21  */
22 LXB_API const lxb_char_t *
23 lxb_html_tokenizer_state_rawtext_before(lxb_html_tokenizer_t *tkz,
24                                         const lxb_char_t *data,
25                                         const lxb_char_t *end);
26 
27 
28 #ifdef __cplusplus
29 } /* extern "C" */
30 #endif
31 
32 #endif /* LEXBOR_HTML_TOKENIZER_STATE_RAWTEXT_H */
33