/contrib/cvs/lib/xgssapi.h

https://bitbucket.org/freebsd/freebsd-head/ · C++ Header · 30 lines · 8 code · 2 blank · 20 comment · 0 complexity · 80a055ae8676a437c0a9dec5fb96ed93 MD5 · raw file

  1. /* This program is free software; you can redistribute it and/or modify
  2. it under the terms of the GNU General Public License as published by
  3. the Free Software Foundation; either version 2, or (at your option)
  4. any later version.
  5. This program is distributed in the hope that it will be useful,
  6. but WITHOUT ANY WARRANTY; without even the implied warranty of
  7. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  8. GNU General Public License for more details. */
  9. /* This file performs the generic include magic necessary for using
  10. * cross platform gssapi which configure doesn't perform itself.
  11. */
  12. /* Can't include both of these headers at the same time with Solaris 7 &
  13. * Heimdal Kerberos 0.3. If some system ends up requiring both, a configure
  14. * test like TIME_AND_SYS_TIME will probably be necessary.
  15. */
  16. #ifdef HAVE_GSSAPI_H
  17. # include <gssapi.h>
  18. #else
  19. /* Assume existance of this header so that the user will get an informative
  20. * message if HAVE_GSSAPI somehow gets defined with both headers missing.
  21. */
  22. # include <gssapi/gssapi.h>
  23. #endif
  24. #ifdef HAVE_GSSAPI_GSSAPI_GENERIC_H
  25. /* MIT Kerberos 5 v1.2.1 */
  26. # include <gssapi/gssapi_generic.h>
  27. #endif