libqb
1.0.6
|
A set of callbacks that need to be provided (only job_add can be #NULL) whenever the IPC server is to be run (by the means of qb_ipcs_run). More...
#include <qbipcs.h>
Data Fields | |
qb_ipcs_job_add_fn | job_add |
qb_ipcs_dispatch_add_fn | dispatch_add |
qb_ipcs_dispatch_mod_fn | dispatch_mod |
qb_ipcs_dispatch_del_fn | dispatch_del |
A set of callbacks that need to be provided (only job_add can be #NULL) whenever the IPC server is to be run (by the means of qb_ipcs_run).
It is possible to use accordingly named functions defined in qbloop.h module or integrate with other existing (like GLib's event loop) or entirely new code – see the subtle distinction amongst the possible event loops pointed out in the introductory comment at qbloop.h.
At that occasion, please note the correlation of QB_IPCS_RATE_FAST etc. symbolic names with said advisory effect of the priorities in the native implementation. This correspondence will not be this intuitively seemless if some other event loop implementation is hooked in given that it abids them strictly as mentioned (e.g. GLib's event loop over poll'able sources). Differences between the two paradigms should also be accounted for when the requirement to swap the event loop implementations arises.
qb_ipcs_dispatch_add_fn qb_ipcs_poll_handlers::dispatch_add |
qb_ipcs_dispatch_del_fn qb_ipcs_poll_handlers::dispatch_del |
qb_ipcs_dispatch_mod_fn qb_ipcs_poll_handlers::dispatch_mod |
qb_ipcs_job_add_fn qb_ipcs_poll_handlers::job_add |