blob: 479613d4d65d6e3befb0e3951bd93475982e2aa3 [file] [log] [blame]
xf.libdd93d52023-05-12 07:10:14 -07001/* List of functions defined for static NSS in GNU C Library.
2 Copyright (C) 1996-2016 Free Software Foundation, Inc.
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
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.
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
13 Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public
16 License along with the GNU C Library; if not, see
17 <http://www.gnu.org/licenses/>. */
18
19/*
20 This is a minimal config. Only services `files' and `dns' are supported.
21*/
22
23/* aliases */
24DEFINE_ENT (files, alias)
25DEFINE_GETBY (files, alias, name)
26
27/* ethers */
28DEFINE_ENT (files, ether)
29
30/* group */
31DEFINE_ENT (files, gr)
32DEFINE_GET (files, grgid)
33DEFINE_GET (files, grnam)
34
35/* hosts */
36DEFINE_ENT (files, host)
37DEFINE_GETBY (files, host, addr)
38DEFINE_GETBY (files, host, name)
39DEFINE_GETBY (files, host, name2)
40DEFINE_GET (files, hostton)
41DEFINE_GET (files, ntohost)
42DEFINE_GETBY (dns, host, addr)
43DEFINE_GETBY (dns, host, name)
44DEFINE_GETBY (dns, host, name2)
45
46/* netgroup */
47DEFINE_ENT (files, netgr)
48
49/* networks */
50DEFINE_ENT (files, net)
51DEFINE_GETBY (files, net, name)
52DEFINE_GETBY (files, net, addr)
53DEFINE_GETBY (dns, net, name)
54DEFINE_GETBY (dns, net, addr)
55
56/* protocols */
57DEFINE_ENT (files, proto)
58DEFINE_GETBY (files, proto, name)
59DEFINE_GETBY (files, proto, number)
60
61/* passwd */
62DEFINE_ENT (files, pw)
63DEFINE_GET (files, pwnam)
64DEFINE_GET (files, pwuid)
65
66/* rpc */
67DEFINE_ENT (files, rpc)
68DEFINE_GETBY (files, rpc, name)
69DEFINE_GETBY (files, rpc, number)
70
71/* services */
72DEFINE_ENT (files, serv)
73DEFINE_GETBY (files, serv, name)
74DEFINE_GETBY (files, serv, port)
75
76/* shadow */
77DEFINE_ENT (files, sp)
78DEFINE_GET (files, spnam)