summaryrefslogtreecommitdiffstats
path: root/include/nsswitch.h
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2010-04-04 08:31:03 +0000
committerume <ume@FreeBSD.org>2010-04-04 08:31:03 +0000
commit7915a506541b9b6b29c31dec9643b7da9649252c (patch)
tree51cf07752246673a6578819cb07fbdc4a934f31d /include/nsswitch.h
parent6e468628cf2ea2fc37557d96be5e76436f206aed (diff)
downloadFreeBSD-src-7915a506541b9b6b29c31dec9643b7da9649252c.zip
FreeBSD-src-7915a506541b9b6b29c31dec9643b7da9649252c.tar.gz
Add capability to use a db version of services. It is enabled by
specifying `db' as source of service in /etc/nsswitch.conf. MFC after: 2 weeks
Diffstat (limited to 'include/nsswitch.h')
-rw-r--r--include/nsswitch.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/nsswitch.h b/include/nsswitch.h
index 0ff6cf1..1a97cea 100644
--- a/include/nsswitch.h
+++ b/include/nsswitch.h
@@ -58,6 +58,7 @@
* currently implemented sources
*/
#define NSSRC_FILES "files" /* local files */
+#define NSSRC_DB "db" /* database */
#define NSSRC_DNS "dns" /* DNS; IN for hosts, HS for others */
#define NSSRC_NIS "nis" /* YP/NIS */
#define NSSRC_COMPAT "compat" /* passwd,group in YP compat mode */
OpenPOWER on IntegriCloud