MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SERVER_CALLBACK_API Struct Reference

#include <callback.h>

Public Attributes

void(* register_callback )(ENGINE_HANDLE *engine, ENGINE_EVENT_TYPE type, EVENT_CALLBACK cb, const void *cb_data)
void(* perform_callbacks )(ENGINE_EVENT_TYPE type, const void *data, const void *cookie)

Detailed Description

The API provided by the server to manipulate callbacks

Definition at line 41 of file callback.h.

Member Data Documentation

void(* SERVER_CALLBACK_API::perform_callbacks)(ENGINE_EVENT_TYPE type, const void *data, const void *cookie)

Fire callbacks

Definition at line 58 of file callback.h.

void(* SERVER_CALLBACK_API::register_callback)(ENGINE_HANDLE *engine, ENGINE_EVENT_TYPE type, EVENT_CALLBACK cb, const void *cb_data)

Register an event callback.

Parameters
typethe type of event to register
cbthe callback to fire when the event occurs
cb_dataopaque data to be given back to the caller on event

Definition at line 50 of file callback.h.


The documentation for this struct was generated from the following file: