[libsoup/libsoup-3-0] Make soup_auth_domain_try_generic_auth_callback private
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup/libsoup-3-0] Make soup_auth_domain_try_generic_auth_callback private
- Date: Thu, 30 Jun 2022 08:29:04 +0000 (UTC)
commit 1f8ca806364574948b79cf5511c933d9494473bc
Author: Patrick Griffis <pgriffis igalia com>
Date: Thu Apr 14 12:26:40 2022 -0500
Make soup_auth_domain_try_generic_auth_callback private
This was never documented and nothing seems to use it.
libsoup/server/soup-auth-domain-basic.c | 1 +
libsoup/server/soup-auth-domain-digest.c | 1 +
libsoup/server/soup-auth-domain-private.h | 12 ++++++++++++
libsoup/server/soup-auth-domain.c | 2 +-
libsoup/server/soup-auth-domain.h | 6 ------
5 files changed, 15 insertions(+), 7 deletions(-)
---
diff --git a/libsoup/server/soup-auth-domain-basic.c b/libsoup/server/soup-auth-domain-basic.c
index 24a3c22d..3a46b35e 100644
--- a/libsoup/server/soup-auth-domain-basic.c
+++ b/libsoup/server/soup-auth-domain-basic.c
@@ -12,6 +12,7 @@
#include <string.h>
#include "soup-auth-domain-basic.h"
+#include "soup-auth-domain-private.h"
#include "soup-message-headers-private.h"
#include "soup.h"
diff --git a/libsoup/server/soup-auth-domain-digest.c b/libsoup/server/soup-auth-domain-digest.c
index 3a63bc4f..1c03dd80 100644
--- a/libsoup/server/soup-auth-domain-digest.c
+++ b/libsoup/server/soup-auth-domain-digest.c
@@ -13,6 +13,7 @@
#include <stdlib.h>
#include "soup-auth-domain-digest.h"
+#include "soup-auth-domain-private.h"
#include "soup-uri-utils-private.h"
#include "soup-message-headers-private.h"
#include "soup.h"
diff --git a/libsoup/server/soup-auth-domain-private.h b/libsoup/server/soup-auth-domain-private.h
new file mode 100644
index 00000000..f2ce59c5
--- /dev/null
+++ b/libsoup/server/soup-auth-domain-private.h
@@ -0,0 +1,12 @@
+/*
+ * Copyright (C) 2007 Novell, Inc.
+ * Copyright (C) 2022 Igalia S.L.
+ */
+
+#pragma once
+
+#include "soup-auth-domain.h"
+
+gboolean soup_auth_domain_try_generic_auth_callback (SoupAuthDomain *domain,
+ SoupServerMessage *msg,
+ const char *username);
diff --git a/libsoup/server/soup-auth-domain.c b/libsoup/server/soup-auth-domain.c
index e68884ff..720911ac 100644
--- a/libsoup/server/soup-auth-domain.c
+++ b/libsoup/server/soup-auth-domain.c
@@ -11,7 +11,7 @@
#include <string.h>
-#include "soup-auth-domain.h"
+#include "soup-auth-domain-private.h"
#include "soup-message-headers-private.h"
#include "soup.h"
#include "soup-path-map.h"
diff --git a/libsoup/server/soup-auth-domain.h b/libsoup/server/soup-auth-domain.h
index fe043c67..1a9cdcef 100644
--- a/libsoup/server/soup-auth-domain.h
+++ b/libsoup/server/soup-auth-domain.h
@@ -74,10 +74,4 @@ SOUP_AVAILABLE_IN_ALL
void soup_auth_domain_challenge (SoupAuthDomain *domain,
SoupServerMessage *msg);
-/* protected */
-SOUP_AVAILABLE_IN_ALL
-gboolean soup_auth_domain_try_generic_auth_callback (SoupAuthDomain *domain,
- SoupServerMessage *msg,
- const char *username);
-
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]