aboutsummaryrefslogtreecommitdiff
path: root/html.h
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-07-20 23:47:33 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-07-21 01:28:38 +0200
commit8c3ba33ced08b211db0cd5f81675bdf62f55acc7 (patch)
tree928ccf6a025db57c3a038a56a920735dccd286ff /html.h
parent4dd531b9ed1923837da32d69fa1933ec9083f8db (diff)
downloadlibweb-8c3ba33ced08b211db0cd5f81675bdf62f55acc7.tar.gz
Move header files to subdirectory
Since slweb is meant as a library, it is advisable to keep public header files under their own directory in order to avoid name clashing i.e., #include "something.h" Now becomes: #include "slweb/something.h"
Diffstat (limited to 'html.h')
-rw-r--r--html.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/html.h b/html.h
deleted file mode 100644
index e62575e..0000000
--- a/html.h
+++ /dev/null
@@ -1,15 +0,0 @@
-#ifndef HTML_H
-#define HTML_H
-
-#include <dynstr.h>
-
-struct html_node *html_node_alloc(const char *element);
-void html_node_free(struct html_node *n);
-int html_node_set_value(struct html_node *n, const char *val);
-int html_node_set_value_unescaped(struct html_node *n, const char *val);
-int html_node_add_attr(struct html_node *n, const char *attr, const char *val);
-struct html_node *html_node_add_child(struct html_node *n, const char *elem);
-void html_node_add_sibling(struct html_node *n, struct html_node *sibling);
-int html_serialize(const struct html_node *n, struct dynstr *d);
-
-#endif /* HTML_H */