]>
Commit | Line | Data |
---|---|---|
6ca96fe2 | 1 | /* List of functions defined for static NSS in GNU C Library. |
04277e02 | 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. |
5107cf1d UD |
3 | This file is part of the GNU C Library. |
4 | ||
5 | The GNU C Library is free software; you can redistribute it and/or | |
41bdb6e2 AJ |
6 | modify it under the terms of the GNU Lesser General Public |
7 | License as published by the Free Software Foundation; either | |
8 | version 2.1 of the License, or (at your option) any later version. | |
5107cf1d UD |
9 | |
10 | The GNU C Library is distributed in the hope that it will be useful, | |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
41bdb6e2 | 13 | Lesser General Public License for more details. |
5107cf1d | 14 | |
41bdb6e2 | 15 | You should have received a copy of the GNU Lesser General Public |
59ba27a6 PE |
16 | License along with the GNU C Library; if not, see |
17 | <http://www.gnu.org/licenses/>. */ | |
5107cf1d | 18 | |
6ca96fe2 UD |
19 | /* |
20 | This is a minimal config. Only services `files' and `dns' are supported. | |
21 | */ | |
22 | ||
5107cf1d UD |
23 | /* aliases */ |
24 | DEFINE_ENT (files, alias) | |
25 | DEFINE_GETBY (files, alias, name) | |
5107cf1d UD |
26 | |
27 | /* ethers */ | |
28 | DEFINE_ENT (files, ether) | |
5107cf1d UD |
29 | |
30 | /* group */ | |
31 | DEFINE_ENT (files, gr) | |
32 | DEFINE_GET (files, grgid) | |
33 | DEFINE_GET (files, grnam) | |
5107cf1d UD |
34 | |
35 | /* hosts */ | |
36 | DEFINE_ENT (files, host) | |
37 | DEFINE_GETBY (files, host, addr) | |
38 | DEFINE_GETBY (files, host, name) | |
eed38d45 | 39 | DEFINE_GETBY (files, host, name2) |
5107cf1d UD |
40 | DEFINE_GET (files, hostton) |
41 | DEFINE_GET (files, ntohost) | |
42 | DEFINE_GETBY (dns, host, addr) | |
43 | DEFINE_GETBY (dns, host, name) | |
44 | DEFINE_GETBY (dns, host, name2) | |
45 | ||
46 | /* netgroup */ | |
47 | DEFINE_ENT (files, netgr) | |
5107cf1d UD |
48 | |
49 | /* networks */ | |
50 | DEFINE_ENT (files, net) | |
51 | DEFINE_GETBY (files, net, name) | |
52 | DEFINE_GETBY (files, net, addr) | |
53 | DEFINE_GETBY (dns, net, name) | |
54 | DEFINE_GETBY (dns, net, addr) | |
55 | ||
56 | /* protocols */ | |
57 | DEFINE_ENT (files, proto) | |
58 | DEFINE_GETBY (files, proto, name) | |
59 | DEFINE_GETBY (files, proto, number) | |
5107cf1d UD |
60 | |
61 | /* passwd */ | |
62 | DEFINE_ENT (files, pw) | |
63 | DEFINE_GET (files, pwnam) | |
64 | DEFINE_GET (files, pwuid) | |
5107cf1d UD |
65 | |
66 | /* rpc */ | |
67 | DEFINE_ENT (files, rpc) | |
68 | DEFINE_GETBY (files, rpc, name) | |
69 | DEFINE_GETBY (files, rpc, number) | |
5107cf1d UD |
70 | |
71 | /* services */ | |
72 | DEFINE_ENT (files, serv) | |
73 | DEFINE_GETBY (files, serv, name) | |
74 | DEFINE_GETBY (files, serv, port) | |
5107cf1d UD |
75 | |
76 | /* shadow */ | |
77 | DEFINE_ENT (files, sp) | |
78 | DEFINE_GET (files, spnam) |