[libsoup/wip/tpopela/negotiate] soup-misc: Move the soup_host_matches_host function to the private header file
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup/wip/tpopela/negotiate] soup-misc: Move the soup_host_matches_host function to the private header file
- Date: Mon, 22 Feb 2016 10:55:34 +0000 (UTC)
commit eeac20a37ea245d8a5420dc69bf43ccffeae4b01
Author: Tomas Popela <tpopela redhat com>
Date: Mon Feb 22 11:53:49 2016 +0100
soup-misc: Move the soup_host_matches_host function to the private header file
libsoup/soup-auth-negotiate.c | 2 +-
libsoup/soup-cookie.c | 1 +
libsoup/soup-misc-private.h | 3 +++
libsoup/soup-misc.h | 3 ---
4 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/libsoup/soup-auth-negotiate.c b/libsoup/soup-auth-negotiate.c
index 61a7f1f..c80d326 100644
--- a/libsoup/soup-auth-negotiate.c
+++ b/libsoup/soup-auth-negotiate.c
@@ -20,7 +20,7 @@
#include "soup-headers.h"
#include "soup-message.h"
#include "soup-message-private.h"
-#include "soup-misc.h"
+#include "soup-misc-private.h"
#include "soup-uri.h"
#ifdef LIBSOUP_HAVE_GSSAPI
diff --git a/libsoup/soup-cookie.c b/libsoup/soup-cookie.c
index 63f98aa..cbb991a 100644
--- a/libsoup/soup-cookie.c
+++ b/libsoup/soup-cookie.c
@@ -13,6 +13,7 @@
#include <string.h>
#include "soup-cookie.h"
+#include "soup-misc-private.h"
#include "soup.h"
/**
diff --git a/libsoup/soup-misc-private.h b/libsoup/soup-misc-private.h
index 7826533..6171ab8 100644
--- a/libsoup/soup-misc-private.h
+++ b/libsoup/soup-misc-private.h
@@ -42,4 +42,7 @@ guint soup_message_headers_get_ranges_internal (SoupMessageHeaders *hdrs,
SoupAddress *soup_address_new_from_gsockaddr (GSocketAddress *addr);
+gboolean soup_host_matches_host (const gchar *host,
+ const gchar *compare_with);
+
#endif /* SOUP_MISC_PRIVATE_H */
diff --git a/libsoup/soup-misc.h b/libsoup/soup-misc.h
index 7cac275..ecb09a8 100644
--- a/libsoup/soup-misc.h
+++ b/libsoup/soup-misc.h
@@ -38,9 +38,6 @@ guint soup_str_case_hash (gconstpointer key);
SOUP_AVAILABLE_IN_2_4
gboolean soup_str_case_equal (gconstpointer v1,
gconstpointer v2);
-SOUP_AVAILABLE_IN_2_54
-gboolean soup_host_matches_host (const gchar *host,
- const gchar *compare_with);
#define _SOUP_ATOMIC_INTERN_STRING(variable, value) ((const char *)(g_atomic_pointer_get (&(variable)) ?
(variable) : (g_atomic_pointer_set (&(variable), (gpointer)g_intern_static_string (value)), (variable))))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]