[libsoup] cache: Make SoupCacheResponse private



commit b4652eea1f9622aefb4238070754605a8f45b679
Author: Maximiliano Sandoval R <msandova gnome org>
Date:   Sat Mar 12 18:14:05 2022 +0100

    cache: Make SoupCacheResponse private
    
    This is never exposed in the public API.

 libsoup/cache/soup-cache-private.h | 6 ++++++
 libsoup/cache/soup-cache.h         | 6 ------
 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
@@ -37,12 +37,6 @@ typedef enum {
        SOUP_CACHE_VALIDATES = (1 << 3)
 } 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]