Lines Matching defs:events
70 ps_ctl_recvmsg(void *arg, unsigned short events)
74 if (ps_recvpsmsg(psp->psp_ctx, psp->psp_fd, events, NULL, NULL) == -1)
149 ps_ctl_dodispatch(void *arg, unsigned short events)
153 if (ps_recvpsmsg(psp->psp_ctx, psp->psp_fd, events,
159 ps_ctl_recv(void *arg, unsigned short events)
165 if (!(events & (ELE_READ | ELE_HANGUP)))
166 logerrx("%s: unexpected event 0x%04x", __func__, events);
168 if (events & ELE_READ) {
188 ps_ctl_listen(void *arg, unsigned short events)
195 if (!(events & ELE_READ))
196 logerrx("%s: unexpected event 0x%04x", __func__, events);