summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Griffis <pgriffis@igalia.com>2022-04-14 12:26:11 -0500
committerPatrick Griffis <pgriffis@igalia.com>2022-04-14 12:26:11 -0500
commit3e45cf7e2dc96dc9084389ee00feca66d844d523 (patch)
tree2dec7b31c793cce59e5e7fb6d48ae567a68cca21
parent40d38c9630baac1ee8b3da7014a83459d5ec615e (diff)
downloadlibsoup-3e45cf7e2dc96dc9084389ee00feca66d844d523.tar.gz
docs: Document SoupCacheability
-rw-r--r--libsoup/cache/soup-cache.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/libsoup/cache/soup-cache.c b/libsoup/cache/soup-cache.c
index 3b557186..42de3045 100644
--- a/libsoup/cache/soup-cache.c
+++ b/libsoup/cache/soup-cache.c
@@ -52,6 +52,16 @@
* File-based cache for HTTP resources.
*/
+/**
+ * SoupCacheability:
+ * @SOUP_CACHE_CACHEABLE: The message should be cached
+ * @SOUP_CACHE_UNCACHEABLE: The message shouldn't be cached
+ * @SOUP_CACHE_INVALIDATES: The messages cache should be invalidated
+ * @SOUP_CACHE_VALIDATES: The messages cache should be updated
+ *
+ * Indicates if a message should or shouldn't be cached.
+ */
+
static void soup_cache_session_feature_init (SoupSessionFeatureInterface *feature_interface, gpointer interface_data);
static SoupContentProcessorInterface *soup_cache_default_content_processor_interface;