aboutsummaryrefslogtreecommitdiff
path: root/nss/nsswitch.h
diff options
context:
space:
mode:
Diffstat (limited to 'nss/nsswitch.h')
-rw-r--r--nss/nsswitch.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/nss/nsswitch.h b/nss/nsswitch.h
index f597a58860..d95d43219e 100644
--- a/nss/nsswitch.h
+++ b/nss/nsswitch.h
@@ -108,9 +108,12 @@ typedef struct name_database
/* Interface functions for NSS. */
-/* Get the data structure representing the specified database. More
+/* Get the data structure representing the specified database.
+ If there is no configuration for this database in the file,
+ parse a service list from DEFCONFIG and use that. More
than one function can use the database. */
-int __nss_database_lookup (const char *database, service_user **ni);
+int __nss_database_lookup (const char *database, const char *defconfig,
+ service_user **ni);
/* Put first function with name FCT_NAME for SERVICE in FCTP. The