diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/quickmedia/HtmlSearch.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/quickmedia/HtmlSearch.h b/include/quickmedia/HtmlSearch.h index b3b2eaa..bedde03 100644 --- a/include/quickmedia/HtmlSearch.h +++ b/include/quickmedia/HtmlSearch.h @@ -2,15 +2,22 @@ #define QUICKMEDIA_HTML_SEARCH_H #include "NodeSearch.h" +#include <stddef.h> #ifdef __cplusplus extern "C" { #endif typedef struct { + char *data; + size_t size; + size_t capacity; +} QuickMediaString; + +typedef struct { const void *doc; const void *node; - void *text; + QuickMediaString text; } QuickMediaHtmlNode; typedef struct { |