2
0

be-gssapi-common.h 772 B

123456789101112131415161718192021222324252627282930
  1. /*-------------------------------------------------------------------------
  2. *
  3. * be-gssapi-common.h
  4. * Definitions for GSSAPI authentication and encryption handling
  5. *
  6. * Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group
  7. * Portions Copyright (c) 1994, Regents of the University of California
  8. *
  9. * src/include/libpq/be-gssapi-common.h
  10. *
  11. *-------------------------------------------------------------------------
  12. */
  13. #ifndef BE_GSSAPI_COMMON_H
  14. #define BE_GSSAPI_COMMON_H
  15. #ifdef ENABLE_GSS
  16. #if defined(HAVE_GSSAPI_H)
  17. #include <gssapi.h>
  18. #else
  19. #include <gssapi/gssapi.h>
  20. #endif
  21. extern void pg_GSS_error(const char *errmsg,
  22. OM_uint32 maj_stat, OM_uint32 min_stat);
  23. #endif /* ENABLE_GSS */
  24. #endif /* BE_GSSAPI_COMMON_H */