summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaximiliano Sandoval R <msandova@gnome.org>2022-03-12 18:14:05 +0100
committerMaximiliano Sandoval R <msandova@protonmail.com>2022-04-13 21:12:51 +0200
commitb4652eea1f9622aefb4238070754605a8f45b679 (patch)
treee75a3b7398852db8517fcb39fc5b12b25c78e20a
parent20f63fde14b5006e3bd8969fc18432c4b6b2938a (diff)
downloadlibsoup-b4652eea1f9622aefb4238070754605a8f45b679.tar.gz
cache: Make SoupCacheResponse private
This is never exposed in the public API.
-rw-r--r--libsoup/cache/soup-cache-private.h6
-rw-r--r--libsoup/cache/soup-cache.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/libsoup/cache/soup-cache-private.h b/libsoup/cache/soup-cache-private.h
index d1c6be2e..c10bf04c 100644
--- a/libsoup/cache/soup-cache-private.h
+++ b/libsoup/cache/soup-cache-private.h
@@ -27,6 +27,12 @@
G_BEGIN_DECLS
+typedef enum {
+ SOUP_CACHE_RESPONSE_FRESH,
+ SOUP_CACHE_RESPONSE_NEEDS_VALIDATION,
+ SOUP_CACHE_RESPONSE_STALE
+} SoupCacheResponse;
+
SoupCacheResponse soup_cache_has_response (SoupCache *cache,
SoupMessage *msg);
GInputStream *soup_cache_send_response (SoupCache *cache,
diff --git a/libsoup/cache/soup-cache.h b/libsoup/cache/soup-cache.h
index c7cbb672..cebecc14 100644
--- a/libsoup/cache/soup-cache.h
+++ b/libsoup/cache/soup-cache.h
@@ -38,12 +38,6 @@ typedef enum {
} SoupCacheability;
typedef enum {
- SOUP_CACHE_RESPONSE_FRESH,
- SOUP_CACHE_RESPONSE_NEEDS_VALIDATION,
- SOUP_CACHE_RESPONSE_STALE
-} SoupCacheResponse;
-
-typedef enum {
SOUP_CACHE_SINGLE_USER,
SOUP_CACHE_SHARED
} SoupCacheType;