summaryrefslogtreecommitdiff
path: root/include/libcss/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcss/types.h')
-rw-r--r--include/libcss/types.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/libcss/types.h b/include/libcss/types.h
index 8bc65a9..c8b9cf9 100644
--- a/include/libcss/types.h
+++ b/include/libcss/types.h
@@ -17,6 +17,8 @@ extern "C"
#include <stdint.h>
#include <stdlib.h>
+#include <libwapcaplet/libwapcaplet.h>
+
#include <libcss/fpmath.h>
/**
@@ -100,6 +102,25 @@ typedef enum css_unit {
CSS_UNIT_KHZ = 0xf
} css_unit;
+/**
+ * Type of a qualified name
+ */
+typedef struct css_qname {
+ /**
+ * Namespace URI:
+ *
+ * NULL for no namespace
+ * '*' for any namespace (including none)
+ * URI for a specific namespace
+ */
+ lwc_string *ns;
+
+ /**
+ * Local part of qualified name
+ */
+ lwc_string *name;
+} css_qname;
+
typedef struct css_stylesheet css_stylesheet;
typedef struct css_select_ctx css_select_ctx;