Split the backend read function as an example, this still needs to be reorganised into protocols
Addition of DCB diagnostics, and free routine
This commit is contained in:
@ -257,7 +257,7 @@ int main(int argc, char **argv) {
|
||||
if (events[n].events & EPOLLOUT) {
|
||||
if (dcb->state != DCB_STATE_LISTENING) {
|
||||
fprintf(stderr, "CALL the WRITE pointer\n");
|
||||
(dcb->func).write(dcb, epollfd);
|
||||
(dcb->func).write_ready(dcb, epollfd);
|
||||
fprintf(stderr, ">>> CALLED the WRITE pointer\n");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user