Add prototype for host database functions.
[kopensolaris-gnu/glibc.git] / nscd / nscd.conf
1 #
2 # /etc/nscd.conf
3 #
4 # An example Name Service Cache config file.  This file is needed by nscd.
5 #
6 # Legal entries are:
7 #
8 #       logfile                 <file>
9 #       debug-level             <level>
10 #
11 #       enable-cache            <service> <yes|no>
12 #       positive-time-to-live   <service> <time in seconds>
13 #       negative-time-to-live   <service> <time in seconds>
14 #       suggested-size          <service> <prime number>
15 #       check-files             <service> <yes|no>
16 #
17 # Currently supported cache names (services): passwd, group
18 #
19
20
21 #       logfile                 /var/adm/nscd.log
22
23         debug-level             0
24
25         enable-cache            passwd          yes
26         positive-time-to-live   passwd          600
27         negative-time-to-live   passwd          20
28         suggested-size          passwd          211
29         check-files             passwd          yes
30
31         enable-cache            group           yes
32         positive-time-to-live   group           3600
33         negative-time-to-live   group           60
34         suggested-size          group           211
35         check-files             group           yes
36
37         enable-cache            hosts           yes
38         positive-time-to-live   hosts           3600
39         negative-time-to-live   hosts           20
40         suggested-size          hosts           211
41         check-files             hosts           yes