diff options
author | Marvin Borner | 2021-03-26 21:55:50 +0100 |
---|---|---|
committer | Marvin Borner | 2021-03-26 22:02:20 +0100 |
commit | 05498860e8f7b1e8bb27880bc7526de026694804 (patch) | |
tree | 3bddf16e9439a950a3810d45e42a5cefdbcb7663 /libtxt/inc/html.h | |
parent | a96e9c4c858d47f61b89d879aa0ce6a02bdacb38 (diff) |
Renamed libs
Cleaner and more flexible.
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 |