/crypto/external/bsd/heimdal/dist/kpasswd/kpasswd_locl.h

http://www.minix3.org/ · C++ Header · 106 lines · 65 code · 7 blank · 34 comment · 0 complexity · ba320080679f86970f79497c78f7a8db MD5 · raw file

  1. /* $NetBSD: kpasswd_locl.h,v 1.1.1.2 2011/04/14 14:08:18 elric Exp $ */
  2. /*
  3. * Copyright (c) 1997 - 2001 Kungliga Tekniska Hรถgskolan
  4. * (Royal Institute of Technology, Stockholm, Sweden).
  5. * All rights reserved.
  6. *
  7. * Redistribution and use in source and binary forms, with or without
  8. * modification, are permitted provided that the following conditions
  9. * are met:
  10. *
  11. * 1. Redistributions of source code must retain the above copyright
  12. * notice, this list of conditions and the following disclaimer.
  13. *
  14. * 2. Redistributions in binary form must reproduce the above copyright
  15. * notice, this list of conditions and the following disclaimer in the
  16. * documentation and/or other materials provided with the distribution.
  17. *
  18. * 3. Neither the name of the Institute nor the names of its contributors
  19. * may be used to endorse or promote products derived from this software
  20. * without specific prior written permission.
  21. *
  22. * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
  23. * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  24. * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  25. * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
  26. * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  27. * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  28. * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  29. * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  30. * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  31. * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  32. * SUCH DAMAGE.
  33. */
  34. /* Id */
  35. #ifndef __KPASSWD_LOCL_H__
  36. #define __KPASSWD_LOCL_H__
  37. #ifdef HAVE_CONFIG_H
  38. #include <config.h>
  39. #endif
  40. #include <stdio.h>
  41. #include <stdlib.h>
  42. #include <string.h>
  43. #ifdef HAVE_SYS_TYPES_H
  44. #include <sys/types.h>
  45. #endif
  46. #ifdef HAVE_FCNTL_H
  47. #include <fcntl.h>
  48. #endif
  49. #ifdef HAVE_SYS_UIO_H
  50. #include <sys/uio.h>
  51. #endif
  52. #ifdef HAVE_UNISTD_H
  53. #include <unistd.h>
  54. #endif
  55. #ifdef HAVE_PWD_H
  56. #include <pwd.h>
  57. #endif
  58. #ifdef HAVE_SYS_TIME_H
  59. #include <sys/time.h>
  60. #endif
  61. #ifdef HAVE_SYS_SELECT_H
  62. #include <sys/select.h>
  63. #endif
  64. #ifdef HAVE_SYS_SOCKET_H
  65. #include <sys/socket.h>
  66. #endif
  67. #ifdef HAVE_NETINET_IN_H
  68. #include <netinet/in.h>
  69. #endif
  70. #ifdef HAVE_NETINET_IN6_H
  71. #include <netinet/in6.h>
  72. #endif
  73. #ifdef HAVE_NETINET6_IN6_H
  74. #include <netinet6/in6.h>
  75. #endif
  76. #ifdef HAVE_ARPA_INET_H
  77. #include <arpa/inet.h>
  78. #endif
  79. #ifdef HAVE_NETDB_H
  80. #include <netdb.h>
  81. #endif
  82. #ifdef HAVE_ERRNO_H
  83. #include <errno.h>
  84. #endif
  85. #ifdef HAVE_DLFCN_H
  86. #include <dlfcn.h>
  87. #endif
  88. #ifdef HAVE_UTIL_H
  89. #include <util.h>
  90. #endif
  91. #ifdef HAVE_LIBUTIL_H
  92. #include <libutil.h>
  93. #endif
  94. #include <err.h>
  95. #include <krb5/roken.h>
  96. #include <krb5/getarg.h>
  97. #include <krb5/krb5.h>
  98. #include "crypto-headers.h" /* for des_read_pw_string */
  99. #endif /* __KPASSWD_LOCL_H__ */