summaryrefslogtreecommitdiffstats
path: root/include/netdb.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/netdb.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/netdb.h')
-rw-r--r--include/netdb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/netdb.h b/include/netdb.h
index 2132044..2c2e4b3 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -82,6 +82,7 @@ typedef __uint32_t uint32_t;
#define _PATH_NETWORKS "/etc/networks"
#define _PATH_PROTOCOLS "/etc/protocols"
#define _PATH_SERVICES "/etc/services"
+#define _PATH_SERVICES_DB "/var/db/services.db"
#define h_errno (*__h_errno())
OpenPOWER on IntegriCloud