summaryrefslogtreecommitdiff
path: root/src/stylesheet.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stylesheet.h')
-rw-r--r--src/stylesheet.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/stylesheet.h b/src/stylesheet.h
index 0b87b9f..5968083 100644
--- a/src/stylesheet.h
+++ b/src/stylesheet.h
@@ -12,6 +12,7 @@
#include <libcss/errors.h>
#include <libcss/functypes.h>
+#include <libcss/stylesheet.h>
#include <libcss/types.h>
typedef struct css_rule css_rule;
@@ -122,6 +123,7 @@ struct css_stylesheet {
char *url; /**< URL of this sheet */
char *title; /**< Title of this sheet */
+ css_origin origin; /**< Origin of stylesheet */
uint32_t media; /**< Bitfield of media types */
void *ownerNode; /**< Owning node in document */
@@ -133,6 +135,9 @@ struct css_stylesheet {
css_stylesheet *next; /**< Next in sibling list */
css_stylesheet *prev; /**< Previous in sibling list */
+ css_import_handler import; /**< Import callback */
+ void *import_pw; /**< Import handler data */
+
css_alloc alloc; /**< Allocation function */
void *pw; /**< Private word */
};