summaryrefslogtreecommitdiff
path: root/content/content.c
diff options
context:
space:
mode:
Diffstat (limited to 'content/content.c')
-rw-r--r--content/content.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/content/content.c b/content/content.c
index 9ecc42810..dbb9588de 100644
--- a/content/content.c
+++ b/content/content.c
@@ -1341,6 +1341,24 @@ struct bitmap *content__get_bitmap(struct content *c)
return c->bitmap;
}
+
+/**
+ * Retrieve quirkiness of a content
+ *
+ * \param h Content to examine
+ * \return True if content is quirky, false otherwise
+ */
+bool content_get_quirks(hlcache_handle *h)
+{
+ struct content *c = hlcache_handle_get_content(h);
+
+ if (c == NULL)
+ return false;
+
+ return c->quirks;
+}
+
+
/**
* Return whether a content is currently locked
*