Fill in a sigevent structure to call a function when the event gets delivered
Synopsis:
#include <qvm/utils.h>
void qvm_callback_pulse(qvm_callback_func_t *cbfp,
struct qvm_callback *cbp,
int priority,
struct sigevent *ev,
int coid)
Arguments:
- cbfp
- A pointer to the callback function to be invoked at event delivery.
- cbp
- A pointer to the data structure to be passed to the callback function.
- priority
- The priority for the pulse.
- ev
- A pointer to the sigevent structure to be filled in.
- coid
- The server connection ID. Specify -1 for any server or QMRE_UNREG_EVENT.
Description:
This function fills in a sigevent structure to call a function when the event gets delivered.