summaryrefslogtreecommitdiff
path: root/libsoup/server
diff options
context:
space:
mode:
authorPatrick Griffis <pgriffis@igalia.com>2022-04-14 12:26:40 -0500
committerPatrick Griffis <pgriffis@igalia.com>2022-04-14 12:26:40 -0500
commit53e1c32efe41986d159bd2bdc9a6977c2a2d4fab (patch)
tree0756d4b5b1393a304d892fd94788ebe22da47b48 /libsoup/server
parent3e45cf7e2dc96dc9084389ee00feca66d844d523 (diff)
downloadlibsoup-53e1c32efe41986d159bd2bdc9a6977c2a2d4fab.tar.gz
Make soup_auth_domain_try_generic_auth_callback private
This was never documented and nothing seems to use it.
Diffstat (limited to 'libsoup/server')
-rw-r--r--libsoup/server/soup-auth-domain-basic.c1
-rw-r--r--libsoup/server/soup-auth-domain-digest.c1
-rw-r--r--libsoup/server/soup-auth-domain-private.h12
-rw-r--r--libsoup/server/soup-auth-domain.c2
-rw-r--r--libsoup/server/soup-auth-domain.h6
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 33de38a1..6c9dc7ef 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 59d9f8f3..944fdd72 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 07fe97c2..c901bd2f 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