79 #ifndef __AST_POLL_COMPAT_H
80 #define __AST_POLL_COMPAT_H
84 #ifndef AST_POLL_COMPAT
88 #define ast_poll(a, b, c) poll(a, b, c)
109 #define ast_poll(a, b, c) ast_internal_poll(a, b, c)
111 int ast_internal_poll(
struct pollfd *pArray,
unsigned long n_fds,
int timeout);
123 int ast_poll2(
struct pollfd *pArray,
unsigned long n_fds,
struct timeval *tv);
128 static inline int ast_poll_fd_index(
struct pollfd *haystack,
int nfds,
int needle)
131 for (i = 0; i < nfds; i++) {
132 if (haystack[i].fd == needle) {
static struct stasis_rest_handlers events
REST handler for /api-docs/events.json.
Bitfield expansions for ast_select.