Update to LGPL v2.1.
[jlayton/glibc.git] / nss / function.def
1 /* List of functions defined for static NSS in GNU C Library.
2    Copyright (C) 1996, 1997, 1998 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, write to the Free
17    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
18    02111-1307 USA.  */
19
20 /*
21   This is a minimal config.  Only services `files' and `dns' are supported.
22 */
23
24 /* aliases */
25 DEFINE_ENT (files, alias)
26 DEFINE_GETBY (files, alias, name)
27
28 /* ethers */
29 DEFINE_ENT (files, ether)
30
31 /* group */
32 DEFINE_ENT (files, gr)
33 DEFINE_GET (files, grgid)
34 DEFINE_GET (files, grnam)
35
36 /* hosts */
37 DEFINE_ENT (files, host)
38 DEFINE_GETBY (files, host, addr)
39 DEFINE_GETBY (files, host, name)
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)
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)
60
61 /* passwd */
62 DEFINE_ENT (files, pw)
63 DEFINE_GET (files, pwnam)
64 DEFINE_GET (files, pwuid)
65
66 /* rpc */
67 DEFINE_ENT (files, rpc)
68 DEFINE_GETBY (files, rpc, name)
69 DEFINE_GETBY (files, rpc, number)
70
71 /* services */
72 DEFINE_ENT (files, serv)
73 DEFINE_GETBY (files, serv, name)
74 DEFINE_GETBY (files, serv, port)
75
76 /* shadow */
77 DEFINE_ENT (files, sp)
78 DEFINE_GET (files, spnam)