aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2010-04-18 04:07:32 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2010-04-18 04:07:32 +0000
commit4deeadcb9bd9c7b5c2f1c08b9c75c80636d0fa38 (patch)
tree73388e031635f47e8040fb3addc72db4edc7a876 /include
parentb7a43116e94cd88e4f8b5ee42da3187a1a7b62cd (diff)
Notes
Diffstat (limited to 'include')
-rw-r--r--include/netdb.h1
-rw-r--r--include/nsswitch.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/netdb.h b/include/netdb.h
index 1c9ef27bacc9..c15b2845b4fa 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -86,6 +86,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())
diff --git a/include/nsswitch.h b/include/nsswitch.h
index 9069ac11b49e..8aea5ad12d72 100644
--- a/include/nsswitch.h
+++ b/include/nsswitch.h
@@ -65,6 +65,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 */