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