2014-05-07 10:02:35 +02:00
|
|
|
#include "mysql/psi/psi.h"
|
|
|
|
C_MODE_START
|
|
|
|
struct TABLE_SHARE;
|
2015-05-04 22:16:00 +02:00
|
|
|
struct sql_digest_storage;
|
2014-05-07 10:02:35 +02:00
|
|
|
struct PSI_mutex;
|
|
|
|
typedef struct PSI_mutex PSI_mutex;
|
|
|
|
struct PSI_rwlock;
|
|
|
|
typedef struct PSI_rwlock PSI_rwlock;
|
|
|
|
struct PSI_cond;
|
|
|
|
typedef struct PSI_cond PSI_cond;
|
|
|
|
struct PSI_table_share;
|
|
|
|
typedef struct PSI_table_share PSI_table_share;
|
|
|
|
struct PSI_table;
|
|
|
|
typedef struct PSI_table PSI_table;
|
|
|
|
struct PSI_thread;
|
|
|
|
typedef struct PSI_thread PSI_thread;
|
|
|
|
struct PSI_file;
|
|
|
|
typedef struct PSI_file PSI_file;
|
|
|
|
struct PSI_socket;
|
|
|
|
typedef struct PSI_socket PSI_socket;
|
|
|
|
struct PSI_table_locker;
|
|
|
|
typedef struct PSI_table_locker PSI_table_locker;
|
|
|
|
struct PSI_statement_locker;
|
|
|
|
typedef struct PSI_statement_locker PSI_statement_locker;
|
|
|
|
struct PSI_idle_locker;
|
|
|
|
typedef struct PSI_idle_locker PSI_idle_locker;
|
|
|
|
struct PSI_digest_locker;
|
|
|
|
typedef struct PSI_digest_locker PSI_digest_locker;
|
|
|
|
struct PSI_bootstrap
|
|
|
|
{
|
|
|
|
void* (*get_interface)(int version);
|
|
|
|
};
|
|
|
|
typedef struct PSI_bootstrap PSI_bootstrap;
|
|
|
|
struct PSI_none
|
|
|
|
{
|
|
|
|
int opaque;
|
|
|
|
};
|
|
|
|
typedef struct PSI_none PSI;
|
|
|
|
struct PSI_stage_info_none
|
|
|
|
{
|
|
|
|
unsigned int m_key;
|
|
|
|
const char *m_name;
|
|
|
|
int m_flags;
|
|
|
|
};
|
|
|
|
typedef struct PSI_stage_info_none PSI_stage_info;
|
|
|
|
extern MYSQL_PLUGIN_IMPORT PSI *PSI_server;
|
|
|
|
C_MODE_END
|