void myqttd_loop_set_read_handler ( MyQttdLoop loop,
MyQttdLoopOnRead  on_read,
axlPointer  ptr,
axlPointer  ptr2 
)

Allows to configure the default read handler (MyQttdLoopOnRead) to be used by all notifications for each descriptor not having its own particular on read handler.

Parameters
loopThe loop to be configured with an on read handler.
on_readThe on read handler to be executed.
ptrThe user defined pointer to be passed to the on read handler.
ptr2Second user defined pointer to be passed to the on read handler.