MXS-2196: Move dcb_accept into listener.cc
Moved the code into listener.cc as it's the only place where it is used. Placed the DCB callback assignment into the DCB constructor as it depended on static functions that were in dcb.cc.
This commit is contained in:
@ -262,8 +262,7 @@ typedef enum
|
||||
*/
|
||||
void dcb_global_init();
|
||||
|
||||
int dcb_write(DCB*, GWBUF*);
|
||||
DCB* dcb_accept(const SListener& listener);
|
||||
int dcb_write(DCB*, GWBUF*);
|
||||
DCB* dcb_alloc(dcb_role_t, const SListener&, SERVICE* service);
|
||||
DCB* dcb_connect(struct server*, struct session*, const char*);
|
||||
int dcb_read(DCB*, GWBUF**, int);
|
||||
|
Reference in New Issue
Block a user