auth.h 838 B

1234567891011121314151617181920212223242526272829
  1. /*-------------------------------------------------------------------------
  2. *
  3. * auth.h
  4. * Definitions for network authentication routines
  5. *
  6. *
  7. * Portions Copyright (c) 1996-2016, PostgreSQL Global Development Group
  8. * Portions Copyright (c) 1994, Regents of the University of California
  9. *
  10. * src/include/libpq/auth.h
  11. *
  12. *-------------------------------------------------------------------------
  13. */
  14. #ifndef AUTH_H
  15. #define AUTH_H
  16. #include "libpq/libpq-be.h"
  17. extern char *pg_krb_server_keyfile;
  18. extern bool pg_krb_caseins_users;
  19. extern char *pg_krb_realm;
  20. extern void ClientAuthentication(Port *port);
  21. /* Hook for plugins to get control in ClientAuthentication() */
  22. typedef void (*ClientAuthentication_hook_type) (Port *, int);
  23. extern PGDLLIMPORT ClientAuthentication_hook_type ClientAuthentication_hook;
  24. #endif /* AUTH_H */