function.def 2.1 KB

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