An "event" message type for use with fsl_db.
More...
#include "db.h"
|
| fsl_db * | db |
| | The event-firing db.
|
| void const * | payload |
| | A message-type-specific payload.
|
| int | savepointLevel |
| | The db's current savepoint level (because most events deal with transactions and this info has proven useful in downstream code).
|
| void * | state |
| | The event listener state.
|
| fsl_db_event_e | type |
| | Event type.
|
An "event" message type for use with fsl_db.
Definition at line 189 of file db.h.
◆ db
The event-firing db.
Definition at line 193 of file db.h.
◆ payload
| void const* fsl_db_event::payload |
A message-type-specific payload.
Its native type is encoded in this->type.
Definition at line 202 of file db.h.
◆ savepointLevel
| int fsl_db_event::savepointLevel |
The db's current savepoint level (because most events deal with transactions and this info has proven useful in downstream code).
This will usually have a value of 1 or higher, the exception being FSL_DB_EVENT_CLOSING, where a that level is 0.
Definition at line 213 of file db.h.
◆ state
| void* fsl_db_event::state |
The event listener state.
Definition at line 197 of file db.h.
◆ type
Event type.
Definition at line 206 of file db.h.
The documentation for this struct was generated from the following file: