link-canary.h 482 B

1234567891011121314151617
  1. /*-------------------------------------------------------------------------
  2. *
  3. * link-canary.h
  4. * Detect whether src/common functions came from frontend or backend.
  5. *
  6. * Copyright (c) 2018-2022, PostgreSQL Global Development Group
  7. *
  8. * src/include/common/link-canary.h
  9. *
  10. *-------------------------------------------------------------------------
  11. */
  12. #ifndef LINK_CANARY_H
  13. #define LINK_CANARY_H
  14. extern bool pg_link_canary_is_frontend(void);
  15. #endif /* LINK_CANARY_H */