MXS-2196: Rename struct dcb to struct DCB

Renamed the DCB struct and removed the typedef.
This commit is contained in:
Markus Mäkelä
2018-11-30 14:52:07 +02:00
parent ad12ff6d06
commit e365b97c6e
8 changed files with 51 additions and 51 deletions

View File

@ -1910,7 +1910,7 @@ static int gw_write(DCB* dcb, GWBUF* writeq, bool* stop_writing)
*/
int dcb_add_callback(DCB* dcb,
DCB_REASON reason,
int (* callback)(struct dcb*, DCB_REASON, void*),
int (* callback)(DCB*, DCB_REASON, void*),
void* userdata)
{
DCB_CALLBACK* cb, * ptr, * lastcb = NULL;
@ -1963,7 +1963,7 @@ int dcb_add_callback(DCB* dcb,
*/
int dcb_remove_callback(DCB* dcb,
DCB_REASON reason,
int (* callback)(struct dcb*, DCB_REASON, void*),
int (* callback)(DCB*, DCB_REASON, void*),
void* userdata)
{
DCB_CALLBACK* cb, * pcb = NULL;