Move SH code out of nptl/ subdirectory.
[glibc.git] / nss / function.def
blob4dfea8555df016c2c8d508a24830c1160c53bb39
1 /* List of functions defined for static NSS in GNU C Library.
2 Copyright (C) 1996-2014 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
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.
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.
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/>. */
20 This is a minimal config. Only services `files' and `dns' are supported.
23 /* aliases */
24 DEFINE_ENT (files, alias)
25 DEFINE_GETBY (files, alias, name)
27 /* ethers */
28 DEFINE_ENT (files, ether)
30 /* group */
31 DEFINE_ENT (files, gr)
32 DEFINE_GET (files, grgid)
33 DEFINE_GET (files, grnam)
35 /* hosts */
36 DEFINE_ENT (files, host)
37 DEFINE_GETBY (files, host, addr)
38 DEFINE_GETBY (files, host, name)
39 DEFINE_GETBY (files, host, name2)
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)
46 /* netgroup */
47 DEFINE_ENT (files, netgr)
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)
56 /* protocols */
57 DEFINE_ENT (files, proto)
58 DEFINE_GETBY (files, proto, name)
59 DEFINE_GETBY (files, proto, number)
61 /* passwd */
62 DEFINE_ENT (files, pw)
63 DEFINE_GET (files, pwnam)
64 DEFINE_GET (files, pwuid)
66 /* rpc */
67 DEFINE_ENT (files, rpc)
68 DEFINE_GETBY (files, rpc, name)
69 DEFINE_GETBY (files, rpc, number)
71 /* services */
72 DEFINE_ENT (files, serv)
73 DEFINE_GETBY (files, serv, name)
74 DEFINE_GETBY (files, serv, port)
76 /* shadow */
77 DEFINE_ENT (files, sp)
78 DEFINE_GET (files, spnam)