19#ifndef ASTERISK_ALERTPIPE_H
20#define ASTERISK_ALERTPIPE_H
158 SWAP(alert_pipe_1[0], alert_pipe_2[0]);
159 SWAP(alert_pipe_1[1], alert_pipe_2[1]);
void ast_alertpipe_close(int alert_pipe[2])
Close an alert pipe.
ssize_t ast_alertpipe_write(int alert_pipe[2])
Write an event to an alert pipe.
void ast_alertpipe_swap(int alert_pipe_1[2], int alert_pipe_2[2])
Swap the file descriptors from two alert pipes.
void ast_alertpipe_clear(int alert_pipe[2])
Sets the alert pipe file descriptors to default values.
ast_alert_status_t ast_alertpipe_flush(int alert_pipe[2])
Consume all alerts written to the alert pipe.
int ast_alertpipe_readable(int alert_pipe[2])
Determine if the alert pipe is readable.
int ast_alertpipe_readfd(int alert_pipe[2])
Get the alert pipe's read file descriptor.
int ast_alertpipe_init(int alert_pipe[2])
Initialize an alert pipe.
int ast_alertpipe_writable(int alert_pipe[2])
Determine if the alert pipe is writable.
ast_alert_status_t ast_alertpipe_read(int alert_pipe[2])
Read an event from an alert pipe.
#define AST_INLINE_API(hdr, body)