psi_abi_v0.h.pp 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. #include "mysql/psi/psi.h"
  2. C_MODE_START
  3. struct TABLE_SHARE;
  4. struct sql_digest_storage;
  5. struct PSI_mutex;
  6. typedef struct PSI_mutex PSI_mutex;
  7. struct PSI_rwlock;
  8. typedef struct PSI_rwlock PSI_rwlock;
  9. struct PSI_cond;
  10. typedef struct PSI_cond PSI_cond;
  11. struct PSI_table_share;
  12. typedef struct PSI_table_share PSI_table_share;
  13. struct PSI_table;
  14. typedef struct PSI_table PSI_table;
  15. struct PSI_thread;
  16. typedef struct PSI_thread PSI_thread;
  17. struct PSI_file;
  18. typedef struct PSI_file PSI_file;
  19. struct PSI_socket;
  20. typedef struct PSI_socket PSI_socket;
  21. struct PSI_table_locker;
  22. typedef struct PSI_table_locker PSI_table_locker;
  23. struct PSI_statement_locker;
  24. typedef struct PSI_statement_locker PSI_statement_locker;
  25. struct PSI_idle_locker;
  26. typedef struct PSI_idle_locker PSI_idle_locker;
  27. struct PSI_digest_locker;
  28. typedef struct PSI_digest_locker PSI_digest_locker;
  29. struct PSI_bootstrap
  30. {
  31. void* (*get_interface)(int version);
  32. };
  33. typedef struct PSI_bootstrap PSI_bootstrap;
  34. struct PSI_none
  35. {
  36. int opaque;
  37. };
  38. typedef struct PSI_none PSI;
  39. struct PSI_stage_info_none
  40. {
  41. unsigned int m_key;
  42. const char *m_name;
  43. int m_flags;
  44. };
  45. typedef struct PSI_stage_info_none PSI_stage_info;
  46. extern MYSQL_PLUGIN_IMPORT PSI *PSI_server;
  47. C_MODE_END