Open /etc/resolv.conf with FD_CLOEXEC
[glibc.git] / nss / function.def
blob505fb9307f051c9fe392e152945db736c73c5616
1 /* List of functions defined for static NSS in GNU C Library.
2 Copyright (C) 1996, 1997, 1998, 2005 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, write to the Free
17 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
18 02111-1307 USA. */
21 This is a minimal config. Only services `files' and `dns' are supported.
24 /* aliases */
25 DEFINE_ENT (files, alias)
26 DEFINE_GETBY (files, alias, name)
28 /* ethers */
29 DEFINE_ENT (files, ether)
31 /* group */
32 DEFINE_ENT (files, gr)
33 DEFINE_GET (files, grgid)
34 DEFINE_GET (files, grnam)
36 /* hosts */
37 DEFINE_ENT (files, host)
38 DEFINE_GETBY (files, host, addr)
39 DEFINE_GETBY (files, host, name)
40 DEFINE_GETBY (files, host, name2)
41 DEFINE_GET (files, hostton)
42 DEFINE_GET (files, ntohost)
43 DEFINE_GETBY (dns, host, addr)
44 DEFINE_GETBY (dns, host, name)
45 DEFINE_GETBY (dns, host, name2)
47 /* netgroup */
48 DEFINE_ENT (files, netgr)
50 /* networks */
51 DEFINE_ENT (files, net)
52 DEFINE_GETBY (files, net, name)
53 DEFINE_GETBY (files, net, addr)
54 DEFINE_GETBY (dns, net, name)
55 DEFINE_GETBY (dns, net, addr)
57 /* protocols */
58 DEFINE_ENT (files, proto)
59 DEFINE_GETBY (files, proto, name)
60 DEFINE_GETBY (files, proto, number)
62 /* passwd */
63 DEFINE_ENT (files, pw)
64 DEFINE_GET (files, pwnam)
65 DEFINE_GET (files, pwuid)
67 /* rpc */
68 DEFINE_ENT (files, rpc)
69 DEFINE_GETBY (files, rpc, name)
70 DEFINE_GETBY (files, rpc, number)
72 /* services */
73 DEFINE_ENT (files, serv)
74 DEFINE_GETBY (files, serv, name)
75 DEFINE_GETBY (files, serv, port)
77 /* shadow */
78 DEFINE_ENT (files, sp)
79 DEFINE_GET (files, spnam)