diff options
Diffstat (limited to 'libtxt/inc/html.h')
-rw-r--r-- | libtxt/inc/html.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/libtxt/inc/html.h b/libtxt/inc/html.h deleted file mode 100644 index c1b29f2..0000000 --- a/libtxt/inc/html.h +++ /dev/null @@ -1,26 +0,0 @@ -// MIT License, Copyright (c) 2020 Marvin Borner -// HTML parsing is mainly based on the XML parser - -#ifndef HTML_H -#define HTML_H - -#include <def.h> -#include <list.h> - -struct dom { - char *tag; - char *content; - struct dom *parent; - struct list *children; -}; - -struct html_element { - u32 x_offset; - u32 y_offset; - struct dom *dom; - struct element *obj; -}; - -int html_render(struct element *container, char *data, u32 length); - -#endif |